OFFSET
1,2
COMMENTS
Conjecture: a(n) exists for any n > 0.
a(n) has been computed for n = 1..100000, with 99998 values resolved within the search bound n <= 10^13. The two unresolved cases, n = 19623 and n = 19624, satisfy a(n) > 10^13, giving a(n)/n > 5.096*10^8, the largest lower bounds in the dataset. Both belong to a cluster sharing pi(n) = 2225 = 5^2 * 89, whose prime factorization consists entirely of primes == 1 (mod 4), maximizing the modular obstruction. - Carlo Corti, Mar 23 2026
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (n = 1..1387 from Zhi-Wei Sun)
Carlo Corti, Table of n, a(n) for n = 1..100000
Carlo Corti, Source code, data and verification scripts.
Carlo Corti, Zenodo archive.
Carlo Corti, Logarithmic scatterplot of A248044 (n=1..100000).
Zhi-Wei Sun, A new theorem on the prime-counting function, arXiv:1409.5685 [math.NT], 2014-2017.
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
