OFFSET
1,1
COMMENTS
The sequence has asymptotic density 1: it contains "almost all" numbers.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
11826^2 = 139854276 contains all digits from 1 to 9 exactly once.
The same is true for all terms up to 30384 whose square is 923187456. These terms are also listed in A071519, they form a subsequence of A054037.
The next 3 terms, 32043 (32043^2 = 1026753849), 32286 (32286^2 = 1042385796) and 33144 (33144^2 = 1098524736) contain all of the digits '0' through '9' exactly once: They are the first terms of A054038.
The next term, 34273 with 34273^2 = 1174638529, does not have this property, but the next two are again of that type (35172^2 = 1237069584 and 35337^2 = 1248703569).
MATHEMATICA
Select[Range[#, # + 3*10^4] &@ 11111, AllTrue[Most@ DigitCount[#^2], # > 0 &] &] (* Michael De Vlieger, Nov 08 2017 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 08 2017
STATUS
approved