OFFSET
1,2
COMMENTS
Following a remark of M. T. Kong Tong on seqfan, there seems to be always at least one way to partition (6n)^2 into the sum of two prime pairs. This sequence gives the number of different solutions.
If there are only finitely many prime twins, this sequence will contain an infinite number of zeros.
REFERENCES
Liang Ding Xiang, Problem 93#, Bulletin of Mathematics (Wuhan), 6 (1992), 41. ISSN 0488-7395.
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 1000 terms from Andrew Howroyd)
EXAMPLE
A solution is denoted by {p,q} where p,p+2,q,q+2 are all primes and p<=q.
a(10) = 8 because there are 8 ways to partition 3600 in this way.
The solution using the smallest prime numbers is 11+13+1787+1789 = 3600.
All 8 solutions are {11, 1787}, {101, 1697}, {179, 1619}, {191, 1607}, {311, 1487}, {347,1451}, {521, 1277} and {569, 1229}.
PROG
(PARI) a(n)={my(m=18*n^2, s=0); forprime(p=5, m/2, if(isprime(m-p) && isprime(p-2) && isprime(m-p+2), s++)); s} \\ Andrew Howroyd, Sep 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Olivier Gérard, Jun 15 2014
EXTENSIONS
Liang reference from Alexander R. Povolotsky
Terms a(41) and beyond from Andrew Howroyd, Sep 17 2019
STATUS
approved