OFFSET
1,2
COMMENTS
The first values of n that produce powers of 4 are precisely the powers of 2.
EXAMPLE
a(3) = 8 because 3^2 = 9 and the largest power of 2 <= 9 is 8.
PROG
(PARI) a(n)=2^(#binary(n^2)-1) \\ Charles R Greathouse IV, May 11 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. Lowell, May 11 2014
STATUS
approved