|
|
A352519
|
|
Numbers of the form prime(p)^q where p and q are primes. Prime powers whose prime index and exponent are both prime.
|
|
4
|
|
|
9, 25, 27, 121, 125, 243, 289, 961, 1331, 1681, 2187, 3125, 3481, 4489, 4913, 6889, 11881, 16129, 24649, 29791, 32041, 36481, 44521, 58081, 68921, 76729, 78125, 80089, 109561, 124609, 134689, 160801, 161051, 177147, 185761, 205379, 212521, 259081, 299209
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Alternatively, numbers of the form prime(prime(i))^prime(j) for some positive integers i, j.
|
|
LINKS
|
|
|
EXAMPLE
|
The terms together with their prime indices begin:
9: {2,2}
25: {3,3}
27: {2,2,2}
121: {5,5}
125: {3,3,3}
243: {2,2,2,2,2}
289: {7,7}
961: {11,11}
1331: {5,5,5}
1681: {13,13}
2187: {2,2,2,2,2,2,2}
3125: {3,3,3,3,3}
3481: {17,17}
4489: {19,19}
4913: {7,7,7}
6889: {23,23}
11881: {29,29}
16129: {31,31}
24649: {37,37}
29791: {11,11,11}
|
|
MAPLE
|
N:= 10^7: # for terms <= N
M:=numtheory:-pi(numtheory:-pi(isqrt(N))):
PP:= {seq(ithprime(ithprime(i)), i=1..M)}:
R:= NULL:
for p in PP do
q:= 1:
do
q:= nextprime(q);
t:= p^q;
if t > N then break fi;
R:= R, t;
od;
od:
|
|
MATHEMATICA
|
Select[Range[10000], PrimePowerQ[#]&&MatchQ[FactorInteger[#], {{_?(PrimeQ[PrimePi[#]]&), k_?PrimeQ}}]&]
|
|
CROSSREFS
|
Numbers of the form p^q for p and q prime are A053810, counted by A001221.
These partitions are counted by A230595.
This is the prime power case of A346068.
For numbers that are not a prime power we have A352518, counted by A352493.
A164336 lists all possible power-towers of prime numbers.
A257994 counts prime indices that are themselves prime, nonprime A330944.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|