OFFSET
1,1
COMMENTS
The conjecture in A259531 implies that the current sequence has infinitely many terms.
REFERENCES
Zhi-Wei Sun, Problems on combinatorial properties of primes, in: M. Kaneko, S. Kanemitsu and J. Liu (eds.), Number Theory: Plowing and Starring through High Wave Forms, Proc. 7th China-Japan Seminar (Fukuoka, Oct. 28 - Nov. 1, 2013), Ser. Number Theory Appl., Vol. 11, World Sci., Singapore, 2015, pp. 169-187.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641 [math.NT], 2014.
EXAMPLE
a(1) = 2 since p(1)^2 + p(1)^2 = 2 is prime.
a(2) = 5 since p(1)^2 + p(2)^2 = 1^2 + 2^2 = 5 is prime.
a(3) = 13 since p(2)^2 + p(3)^2 = 2^2 + 3^2 = 13 is prime.
a(4) = 29 since p(2)^2 + p(4)^2 = 2^2 + 5^2 = 29 is prime.
MATHEMATICA
p[n_]:=p[n]=PartitionsP[n];
tab={}; Do[s=p[m]^2+p[k]^2; If[PrimeQ[s], tab=Append[tab, s]], {m, 1, 1600}, {k, 1, m}];
LL:=LL=Sort[DeleteDuplicates[tab]]; Do[Print[n, LL[[n]]], {n, 1, 10000}]
Take[Select[Total/@Tuples[PartitionsP[Range[2000]]^2, 2], PrimeQ]//Union, 50] (* Harvey P. Dale, Jan 24 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jul 03 2015
EXTENSIONS
Corrected and extended by Harvey P. Dale, Jan 24 2025
STATUS
approved
