OFFSET
1,2
COMMENTS
Conjecture: a(n) exists for any n > 0.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (n = 1..1387 from Zhi-Wei Sun)
Zhi-Wei Sun, A new theorem on the prime-counting function, arXiv:1409.5685, 2014.
EXAMPLE
a(5) = 12 since 12 + 5 = 17 divides pi(12)^2 + pi(5)^2 = 5^2 + 3^2 = 34.
MATHEMATICA
Do[m=1; Label[aa]; If[Mod[PrimePi[m]^2+PrimePi[n]^2, m+n]==0, Print[n, " ", m]; Goto[bb]]; m=m+1; Goto[aa]; Label[bb]; Continue, {n, 1, 60}]
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Zhi-Wei Sun, Sep 30 2014
STATUS
approved