OFFSET
0,2
COMMENTS
Conjecture: all a(n) > 0.
LINKS
Robert Israel, Table of n, a(n) for n = 0..9400
FORMULA
A046927(a(n)) = n if a(n) > 0.
EXAMPLE
a(4) = 8 because 2*8+1 = 17 has exactly 4 representations as p+2*q: 17 = 3 + 2*7 = 7 + 2*5 = 11 + 2*3 = 13 + 2*2, and this is not true for any k < 8.
MAPLE
PROG
(PARI) f(n) = my(s); n=2*n+1; forprime(p=2, n\2, s+=isprime(n-2*p)); s;
a(n) = my(k=1); while(f(k) != n, k++); k; \\ Michel Marcus, Dec 14 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 13 2020
STATUS
approved