OFFSET
1,11
COMMENTS
Conjecture: a(n)>0 for all even n>=8070 and odd n>=18680.
This conjecture unifies the twin prime conjecture, Goldbach's conjecture and Lemoine's conjecture. It has been verified for n up to 10^7.
Zhi-Wei Sun also made the following conjecture: Any integer n>=6782 can be written as p+q+(n mod 2)q with p>q and p, q, q-6, q+6 all prime, and any integer n>=4410 can be written as p+q+(n mod 2)q with p>q and p, q, 2q-3, 2q+3 all prime, and any integer n>=16140 can be written as p+q+(n mod 2)q with p>q and p, q, 3q-2, 3q+2 all prime.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..100000
Zhi-Wei Sun, Conjectures involving primes and quadratic forms, arXiv:1211.1588.
EXAMPLE
a(31)=1 since 31=17+2*7 with 6*7-1 and 6*7+1 twin primes.
a(32)=1 since 32=29+3 with 6*3-1 and 6*3+1 twin primes.
MATHEMATICA
a[n_]:=a[n]=Sum[If[PrimeQ[6Prime[k]-1]==True&&PrimeQ[6Prime[k]+1]==True&&PrimeQ[n-(1+Mod[n, 2])Prime[k]]==True, 1, 0], {k, 1, PrimePi[(n-1)/(2+Mod[n, 2])]}]
Do[Print[n, " ", a[n]], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 04 2012
STATUS
approved