OFFSET
1,4
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
EXAMPLE
For n < 4 there are no such primes, thus a(1)-a(3)=0. For n=4, 2*4+1 = 9 = 2*3+3, thus a(4)=3. For n=7, 2*7+1 = 15 = 2*5+5, thus a(7)=7.
MATHEMATICA
Do[m = 3; While[ ! (PrimeQ[m] && ((n - 2*m) > 2) && PrimeQ[n - 2*m]), m = m + 2]; Print[m], {n, 9, 299, 2}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Lei Zhou, Feb 09 2005
EXTENSIONS
Edited and Scheme code added by Antti Karttunen, Jun 19 2007
Definition corrected by Hugo Pfoertner, Sep 16 2011
STATUS
approved