login
A030082
a(n) = prime^3 and digits of prime appear in a(n).
2
125, 1331, 24389, 205379, 226981, 300763, 357911, 389017, 912673, 1030301, 1295029, 2571353, 3442951, 6967871, 12008989, 12649337, 15813251, 22188041, 30080231, 36264691, 38272753, 41781923, 58863869, 64481201, 90518849, 101847563, 124251499, 158340421, 237176659
OFFSET
1,1
COMMENTS
Digits are not counted with multiplicity. - Chai Wah Wu, Mar 17 2021
EXAMPLE
a(13) = 3442951 = 151^3. 151 is prime and the digits of 151, '1' and '5' are digits of a(13). - Chai Wah Wu, Mar 17 2021
PROG
(Python)
from sympy import prime
A030082_list = []
for i in range(1, 10**6):
p = prime(i)
q = p**3
if set(str(p)) <= set(str(q)):
A030082_list.append(q) # Chai Wah Wu, Mar 17 2021
CROSSREFS
Cf. A030078 (cubes of primes).
Sequence in context: A237713 A000526 A016971 * A342349 A017043 A255181
KEYWORD
nonn,base
EXTENSIONS
More terms from Chai Wah Wu, Mar 17 2021
STATUS
approved