OFFSET
1,1
COMMENTS
a(n)^10 and 10^a(n) are in A393217, for all n >= 1.
Are there infinitely many terms in this sequence?
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..38
EXAMPLE
5 is a term since 5^10 = 9765625 and the digits 0 and 1 are not present in its decimal expansion.
MATHEMATICA
q[m_]:=ContainsNone[IntegerDigits[m^10], {0, 1}]; Select[Range[10^6], q] (* James C. McMahon, Feb 12 2026 *)
PROG
(PARI) isok(m) = vecmin(digits(m^10)) > 1; \\ Michel Marcus, Feb 07 2026
(Python)
from gmpy2 import digits, mpz
def ok(k): return k%10>1 and "0" not in (s:=digits(mpz(k)**mpz(10))) and "1" not in s
print([k for k in range(10**7) if ok(k)]) # Michael S. Branicky, Feb 07 2026
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gonzalo MartÃnez, Feb 06 2026
EXTENSIONS
a(19)-a(30) from Michael S. Branicky, Feb 07 2026
STATUS
approved
