|
|
A342349
|
|
a(n) = p^3 where p is prime and digits of p counted with multiplicity appear in a(n).
|
|
0
|
|
|
125, 1331, 24389, 205379, 226981, 300763, 357911, 389017, 912673, 1030301, 1295029, 2571353, 12649337, 15813251, 22188041, 38272753, 41781923, 58863869, 64481201, 101847563, 124251499, 158340421, 237176659, 263374721, 318611987, 344472101, 371694959, 393832837
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(13) = 12649337 = 233^3. 233 is prime and 12649337 contains one digit '2' and two digits '3'.
|
|
PROG
|
(Python)
from multiset import Multiset
from sympy import prime
for i in range(1, 10**6):
p = prime(i)
q = p**3
if Multiset(str(p)) <= Multiset(str(q)):
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|