

A219115


Numbers whose squares have at least one 1 and one 2 in ternary representation.


0



4, 5, 7, 8, 10, 12, 13, 14, 15, 17, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82, 84
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

So a(n)^2 belongs to A125293.
Complement of A176189.


LINKS

Table of n, a(n) for n=1..66.
K. Mahler, The representation of squares to the base 3, Acta Arith. Vol. 53, Issue 1 (1989), p. 99106.


MATHEMATICA

Select[Range[100], DigitCount[#^2, 3, 1]>0&&DigitCount[#^2, 3, 2]>0&] (* Harvey P. Dale, May 07 2015 *)


CROSSREFS

Cf. A125293, A176189.
Sequence in context: A078577 A225387 A037259 * A118731 A076203 A153327
Adjacent sequences: A219112 A219113 A219114 * A219116 A219117 A219118


KEYWORD

nonn,base


AUTHOR

Michel Marcus, Nov 12 2012


STATUS

approved



