OFFSET
1,1
COMMENTS
It is conjectured that a(n) = n + 40 for n > 25.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
EXAMPLE
5^19 = 19073486328125, which contains two 1's, two 2's, two 3's, one 4, one 5, one 6, one 7, two 8's, one 9 and one 0, so 19 is in the sequence.
MATHEMATICA
Select[Range[110], Union[IntegerDigits[5^#]] == Range[0, 9] &] (* Indranil Ghosh, Apr 01 2017 *)
PROG
(PARI) isok(n) = #vecsort(digits(5^n), , 8) == 10; \\ Michel Marcus, Apr 01 2017
(Python)
from sympy.ntheory.factor_ import digits
r10 = set(range(10))
print([n for n in range(1, 111) if set(sorted(digits(5**n)[1:])) == r10]) # Indranil Ghosh, Apr 01 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Apr 01 2017
STATUS
approved