Go away! No-1’s Here! – codegolf.stackexchange.com

I was playing around with some numbers and found a sequence that, of course, is on OEIS. It is A005823: Numbers whose ternary expansion contains no 1’s. It goes:
a(2n) = 3*a(n)+2

a(2n+1) = …

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *