login
A084488
Prime(n)+q, where q is the next prime such that q mod 4 = (prime(n)+2) mod 4.
1
8, 12, 20, 24, 32, 36, 48, 52, 60, 68, 80, 84, 96, 100, 112, 120, 128, 140, 144, 152, 168, 172, 192, 200, 204, 212, 216, 236, 240, 264, 268, 276, 288, 300, 308, 320, 336, 340, 352, 360, 372, 384, 392, 396, 428, 440, 452, 456, 468, 472, 480, 492, 508, 520, 532
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
Cf. A084487.
Sequence in context: A291758 A232867 A358574 * A337877 A211410 A001749
KEYWORD
nonn
AUTHOR
Jon Perry, May 28 2003
EXTENSIONS
Edited and extended by Klaus Brockhaus, May 28 2003
STATUS
approved