login
A391519
Numbers k such that A067599(k) is a substring of k.
3
15625, 117649, 65477433301
OFFSET
1,1
COMMENTS
a(4) <= 2251799813685248 = 2^51.
The following are also terms:
1076774322134762161 = 32213^4,
7050287992278341281 = 227^8,
18080443257103575743 = 7103^5,
9444732965739290427392 = 2^73.
It is easy to generate larger terms by searching for cases where the string p|e is contained in the digits of p^e, where | denotes concatenation. [Of course this does not mean they are the next terms in the sequence, since there are other ways that terms can be created. - N. J. A. Sloane, Dec 30 2025]
EXAMPLE
15625 is a term since 15625 = 5^6 and 56 is a substring of 15626.
117649 is a term since 117649 = 7^6 and 76 is a substring of 117649.
65477433301 is a term since 65477433301 = 7^7 * 43^3 and 77433 is a substring of 65477433301.
PROG
(Python)
from sympy import factorint, isprime
def ok(n): return n > 1 and "".join(str(p)+str(e) for p, e in factorint(n).items()) in str(n)
print([k for k in range(10**6) if ok(k)])
CROSSREFS
KEYWORD
nonn,more,base
AUTHOR
STATUS
approved