OFFSET
1,2
COMMENTS
If a number has a least significant digit of 0, 4, 5 or 6, it can't be in this sequence. - Alonso del Arte, Jun 11 2016
LINKS
Chris, Three Digits Solution, June 29, 2005.
Patrick De Geest, Squares containing at most three distinct digits, Index entries for related sequences
Patrick De Geest, Palindromic Squares
A. Ottens, The arithmetic-digits-squares-three.digits problem [broken link].
Eric Weisstein's World of Mathematics, Square Number.
EXAMPLE
Since 107^2 = 11449, 107 is in the sequence.
As 108^2 = 11664 has two 6's, 108 is not in the sequence.
MATHEMATICA
Select[Range[100], Complement[IntegerDigits[#^2], {1, 4, 9}] == {} &] (* Alonso del Arte, Jun 11 2016 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
STATUS
approved