|
|
A246549
|
|
Prime powers p^e where p is a prime and e >= 3 (prime powers without 1, the primes, or the squares of primes).
|
|
7
|
|
|
8, 16, 27, 32, 64, 81, 125, 128, 243, 256, 343, 512, 625, 729, 1024, 1331, 2048, 2187, 2197, 2401, 3125, 4096, 4913, 6561, 6859, 8192, 12167, 14641, 15625, 16384, 16807, 19683, 24389, 28561, 29791, 32768, 50653, 59049, 65536, 68921, 78125, 79507, 83521, 103823, 117649, 130321, 131072, 148877, 161051, 177147, 205379
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
With[{nn=60}, Take[Union[Flatten[Table[p^Range[3, nn/3], {p, Prime[ Range[ nn]]}]]], nn]] (* Harvey P. Dale, Dec 10 2015 *)
|
|
PROG
|
(PARI) for(n=1, 10^6, if(isprimepower(n)>=3, print1(n, ", ")));
(PARI) m=10^6; v=[]; forprime(p=2, m^(1/3), e=3; while(p^e<=m, v=concat(v, p^e); e++)); v=vecsort(v) \\ Faster program. Jens Kruse Andersen, Aug 29 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|