Hacker News new | ask | show | jobs
by chasing 460 days ago
Yeah, but how many powers of 2 have all odd digits?
3 comments

2^0 = 1

If we allow cheating, there are infinitely many. 2^(^2log(3.57)) equals 3.57, for example.

2^0 and 2^{-1}. other positive integers will end on an even number, other negative integers will end with the numbers 25.
0
I think you forgot one.
Nice double-meaning.
> 0

2^0 is a power of two and has all odd digits.

Edit: If we include negative powers, there is also 2^-1, which is all odd except for the leading zero before the decimal point.