|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Digits are not counted with multiplicity. - Chai Wah Wu, Mar 17 2021
|
|
LINKS
|
|
|
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
for i in range(1, 10**6):
p = prime(i)
q = p**3
if set(str(p)) <= set(str(q)):
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|