|
|
A122702
|
|
Primes of the form p^3 + q^5 where p and q are primes.
|
|
1
|
|
|
59, 157, 251, 24421, 161059, 2248123, 6436351, 6967903, 15813283, 20511157, 22188073, 58863901, 86938339, 90518881, 131872261, 263374753, 440711113, 553387693, 865523209, 1095912823, 1194390013, 1524845983, 1573037779, 2521008913, 2979767551, 3327970189
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
p and q cannot both be odd. Thus p=2 or q=2.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 3^3 + 2^5 = 59.
a(2) = 5^3 + 2^5 = 157.
a(3) = 2^3 + 3^5 = 251.
a(4) = 29^3 + 2^5 = 24421.
|
|
MAPLE
|
N:= 10^10: # to get all terms <= N
A:= select(isprime, {seq(2^3 + q^5, q = select(isprime, [2, seq(i, i=3..floor((N-8)^(1/5)), 2)])),
seq(2^5 + q^3, q = select(isprime, [2, seq(i, i=3..floor((N-2^5)^(1/3)), 2)]))}):
|
|
MATHEMATICA
|
With[{nn=10^8}, Union[Select[Join[Prime[Range[Floor[Power[nn, (5)^-1]]]]^5+ 8, Prime[Range[Floor[Power[nn, (3)^-1]]]]^3+32], PrimeQ]]] (* Harvey P. Dale, Nov 26 2011 *)
|
|
CROSSREFS
|
Cf. A000040, A045700 (Primes of form p^2+q^3 where p and q are primes).
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|