login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A086529
Beginning with 2, distinct even numbers such that the arithmetic mean of successive pairs of terms gives odd primes in their natural order. {a(n) + a(n+1)}/2 = prime(n+1).
0
2, 4, 6, 8, 14, 12, 22, 16, 30, 28, 34, 40, 42, 44, 50, 56, 62, 60, 74, 68, 78, 80, 86, 92, 102, 100, 106, 108, 110, 116, 138, 124, 150, 128, 170, 132, 182, 144, 190, 156, 202, 160, 222, 164, 230, 168, 254, 192, 262, 196, 270, 208, 274, 228, 286, 240, 298, 244
OFFSET
1,1
FORMULA
a(n) = 2*(sum(i = 2, n, ((-1)^(n-i)*p(i)))-(-1)^n) - David Wasserman, Mar 14 2005
CROSSREFS
Sequence in context: A014320 A080377 A086526 * A054409 A344001 A152973
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 31 2003
EXTENSIONS
More terms from David Wasserman, Mar 14 2005
STATUS
approved