A030082 a(n) = prime^3 and digits of prime appear in a(n).
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
Examples
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
Crossrefs
Cf. A030078 (cubes of primes).
Programs
-
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
Extensions
More terms from Chai Wah Wu, Mar 17 2021
Comments