login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081235 A sequence of 2n consecutive primes with symmetrical gaps about the center starts at this prime. 3
2, 5, 5, 17, 13, 137, 8021749, 1071065111, 1613902553, 1797595814863 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n) = A175309(2n-1) (= A055382(n) for n>1) [From M. F. Hasler (www.univ-ag.fr/~mhasler), Apr 02 2010]

EXAMPLE

The first term is 2 since the 2 primes 2, 3 have a gap of 1, which is trivially symmetric about its center.

The second term is 5 since the 4 primes 5, 7, 11, 13 have gaps 2, 4, 2, which is symmetric about its center.

The twelve primes 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193 have gaps 2, 10, 2, 6, 6, 4, 6, 6, 2, 10, 2 - symmetric about the middle, so a(6) = 137.

PROG

(PARI) A081235(n) = { my(last=vector(n*=2, i, prime(i)), m, i=Mod(n-2, n)); forprime(p=last[n], default(primelimit), m=last[1+lift(i+2)]+last[1+lift(i++)]=p; for(j=1, n\2, last[1+lift(i-j)]+last[1+lift(i+j+1)]==m||next(2)); return(last[1+lift(i+1)]))} [From M. F. Hasler (www.univ-ag.fr/~mhasler), Apr 02 2010]

CROSSREFS

Cf. A001223, A055380, A055381, A175309. A variant of A055382.

Sequence in context: A076570 A089121 A014442 * A082534 A165659 A154816

Adjacent sequences:  A081232 A081233 A081234 * A081236 A081237 A081238

KEYWORD

more,nonn

AUTHOR

Christopher Gribble and T. D. Noe, Apr 02 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 20:58 EST 2012. Contains 205967 sequences.