login
A136866
Numbers k such that k and k^2 use only the digits 0, 1, 4 and 8.
1
0, 1, 10, 100, 1000, 10000, 10401, 100000, 104010, 1000000, 1004001, 1040100, 10000000, 10040010, 10401000, 100000000, 100040001, 100400100, 104010000, 1000000000, 1000400010, 1004001000, 1040100000, 10000000000, 10000400001, 10004000100, 10040010000, 10401000000, 100000000000, 100004000010, 100040001000, 100400100000
OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
100004040010401^2 = 10000808018401884040188180801.
MATHEMATICA
With[{c={0, 1, 4, 8}}, Select[FromDigits/@Tuples[c, 12], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Oct 06 2020 *)
CROSSREFS
Sequence in context: A190016 A115796 A136857 * A136878 A136871 A135653
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved