[go: up one dir, main page]

login
A136815
Numbers k such that k and k^2 use only the digits 0, 1, 2, 3 and 9.
2
0, 1, 3, 10, 11, 30, 100, 101, 110, 111, 139, 300, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1390, 3000, 10000, 10001, 10010, 10011, 10100, 10101, 10110, 10111, 10923, 11000, 11001, 11010, 11100, 11101, 13900, 30000, 30203, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100, 101110, 109139
OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
302013293123^2 = 91212029222999119093129.
MATHEMATICA
With[{c={0, 1, 2, 3, 9}, nn=6}, Select[FromDigits/@Tuples[c, nn], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Oct 10 2022 *)
CROSSREFS
Sequence in context: A344892 A357555 A078306 * A119223 A119165 A119080
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved