login
A136966
Numbers k such that k and k^2 use only the digits 0, 6, 7, 8 and 9.
1
0, 887, 8870, 8886, 8887, 87676, 87687, 88700, 88860, 88870, 88887, 89867, 876760, 876870, 887000, 887676, 888600, 888700, 888870, 898670, 989897, 7788887, 7796076, 8767600, 8768700, 8870000, 8876760, 8886000, 8887000, 8888700, 8986700, 8998667, 9888887, 9898970, 77888870, 77960760, 87676000, 87687000, 87787687, 87788887, 88700000
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
898709006786897^2 = 807677878879890878007970888609.
MATHEMATICA
With[{c={0, 6, 7, 8, 9}}, Select[FromDigits/@Tuples[c, 8], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Jan 31 2020 *)
CROSSREFS
Sequence in context: A031938 A165504 A351667 * A232152 A202446 A043523
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved