OFFSET
2,1
EXAMPLE
Prime(4) = 7, (7+2) mod 4 = 1, 11 mod 4 = 3, 13 mod 4 = 1, hence a(4) = 7+13 = 20.
PROG
(PARI) {forprime(p=3, 270, m=(p+2)%4; q=nextprime(p+1); while(q%4!=m, q=nextprime(q+1)); print1(p+q, ", "))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, May 28 2003
EXTENSIONS
Edited and extended by Klaus Brockhaus, May 28 2003
STATUS
approved