login
A136835
Numbers k such that k and k^2 use only the digits 0, 1, 2, 8 and 9.
1
0, 1, 9, 10, 11, 90, 91, 99, 100, 101, 109, 110, 899, 900, 901, 910, 911, 990, 991, 999, 1000, 1001, 1009, 1010, 1011, 1090, 1091, 1100, 1101, 1109, 8989, 8990, 8999, 9000, 9001, 9010, 9011, 9100, 9101, 9110, 9900, 9901, 9909, 9910, 9990, 9991, 9999, 10000, 10001, 10009, 10010, 10011, 10090, 10091, 10099, 10100, 10109, 10110, 10900, 10910, 10991, 11000
OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
298180989^2 = 88911902201018121.
MATHEMATICA
odQ[n_]:=Module[{c=Union[IntegerDigits[n^2]]}, And@@Table[MemberQ[{0, 1, 2, 8, 9}, c[[i]]], {i, Length[c]}]]; Select[FromDigits/@Tuples[{ 0, 1, 2, 8, 9}, 5], odQ] (* Harvey P. Dale, Nov 24 2013 *)
CROSSREFS
Sequence in context: A048031 A048013 A048048 * A031166 A202706 A104627
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved