OFFSET
1,3
LINKS
Danny Rorabaugh, Table of n, a(n) for n = 1..5000
EXAMPLE
115 is in the list because 115 and 115^2 = 13225 do not use the digits 6, 7, 8, or 9.
121 is not in the list because 121^2 = 14641 uses the digit 6.
149 is not in the list because it uses the digit 9 (even though 149^2 = 22201 would be okay).
MATHEMATICA
Select[Range@ 1100, Total@ Take[DigitCount[#], {6, 9}] == 0 && Total@ Take[DigitCount[#^2], {6, 9}] == 0 &] (* Michael De Vlieger, Apr 17 2015 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Danny Rorabaugh, Apr 15 2015
STATUS
approved