A136811 Numbers k such that k and k^2 use only the digits 0, 1, 2, 3 and 5.
0, 1, 5, 10, 11, 15, 35, 50, 55, 100, 101, 105, 110, 111, 115, 150, 235, 335, 350, 351, 500, 501, 505, 550, 1000, 1001, 1005, 1010, 1011, 1015, 1050, 1055, 1100, 1101, 1105, 1110, 1150, 1235, 1500, 1501, 2305, 2350, 3211, 3335, 3350, 3500, 3510, 3515, 5000, 5001, 5005, 5010, 5011, 5015, 5035, 5050, 5055, 5500, 5505, 10000, 10001, 10005, 10010, 10011, 10015
Offset: 1
Examples
50530501^2 = 2553331531311001.
Links
- Jonathan Wellons, Table of n, a(n) for n = 1..1227
- J. Wellons, Tables of Shared Digits [archived]
Programs
-
Mathematica
With[{c={0,1,2,3,5}},Select[FromDigits/@Tuples[c,5],SubsetQ[c,IntegerDigits[#^2]]&]] (* Harvey P. Dale, Jun 25 2023 *)
Comments