login
A086530
Beginning with 1, odd numbers such that the arithmetic mean of successive pairs of terms gives primes in their natural order. {a(n) + a(n+1)}/2 = prime(n).
1
1, 3, 3, 7, 7, 15, 11, 23, 15, 31, 27, 35, 39, 43, 43, 51, 55, 63, 59, 75, 67, 79, 79, 87, 91, 103, 99, 107, 107, 111, 115, 139, 123, 151, 127, 171, 131, 183, 143, 191, 155, 203, 159, 223, 163, 231, 167, 255, 191, 263, 195, 271, 207, 275, 227, 287, 239, 299
OFFSET
1,2
LINKS
FORMULA
a(n+1) = 2*prime(n) - a(n). - Sam Handler (sam_5_5_5_0(AT)yahoo.com), Nov 13 2004
MATHEMATICA
a[1]=1; a[n_]:=2Prime[n-1]-a[n-1]; Array[a, 58] (* Stefano Spezia, May 06 2023 *)
CROSSREFS
Cf. A100484 (2*prime(n)).
Sequence in context: A187781 A263794 A344608 * A357215 A147402 A052551
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 31 2003
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Nov 13 2004
Terms a(37) and beyond corrected by Stefano Spezia, May 06 2023
STATUS
approved