login
A137032
Numbers k such that k and k^2 use only the digits 1, 3, 5 and 6.
0
1, 6, 56, 1156, 3656
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
EXAMPLE
3656^2 = 13366336.
MATHEMATICA
With[{c={1, 3, 5, 6}}, Select[FromDigits/@Flatten[Table[Tuples[c, n], {n, 4}], 1], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, May 26 2023 *)
CROSSREFS
Sequence in context: A122743 A241031 A268760 * A053421 A083696 A288680
KEYWORD
base,nonn,more
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved