

A257284


Numbers n not divisible by 2 such that n^2 written in base 4 has no digit > 1.


2



1, 9, 33, 129, 513, 1175, 2049, 4617, 8193, 18441, 18807, 32769, 73737, 131073, 264321, 270369, 294921, 524289, 545431, 1081377, 1179657, 2097153, 4203009, 4325409, 4718601, 8388609, 16810497, 16908417, 17301537, 18874377, 33554433, 38729961, 67143681, 67633281, 69206049
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

The first condition is added to exclude terms of the form a(k)*2^m (m>0), whose square would just have 0's appended w.r.t. a(k)^2 when written in base 4, and therefore trivially have no digit > 1 in base 4.
See A230030 for the base 5 analog, which is much more challenging.


LINKS



PROG

(PARI) b=4; forstep(n=1, 10^8, 2, vecmax(digits(n^2, b))>1print1(n", "))


CROSSREFS



KEYWORD

nonn,base


AUTHOR



STATUS

approved



