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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114262 p(k) is the minimum prime that is greater than Prime[k] and makes Prime[k]+2*p is a prime. 6
5, 7, 11, 13, 17, 31, 41, 37, 37, 41, 47, 43, 47, 67, 73, 61, 83, 83, 79, 83, 89, 97, 97, 107, 103, 107, 151, 137, 127, 131, 139, 151, 191, 157, 179, 167, 173, 223, 199, 181, 191, 193, 197, 211, 227, 233, 227, 241, 257, 277, 307, 251, 313, 277, 283, 271, 293, 281 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

EXAMPLE

k=2: Prime[2]=3; 3+2*5=13 is prime, so p(2)=5;

k=3: Prime[3]=5; 5+2*7=19 is prime, so p(3)=7;

...

k=7: Prime[7]=17; 17+2*19=55 is not prime

17+2*23=63 is not prime

...

17+2*31=79 is prime, so p(7)=31;

MATHEMATICA

Table[p1 = Prime[n1]; n2 = 1; p2 = Prime[n1 + n2]; While[cp = p1 + 2* p2; ! PrimeQ[cp], n2++; p2 = Prime[n1 + n2]]; p2, {n1, 2, 201}]

CROSSREFS

Cf. A114227, A114230, A073703, A114235.

Sequence in context: A109416 A132170 A106309 * A007529 A108409 A039681

Adjacent sequences:  A114259 A114260 A114261 * A114263 A114264 A114265

KEYWORD

easy,nonn

AUTHOR

Lei Zhou (lzhou5(AT)emory.edu), Nov 20 2005

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 15 10:28 EST 2012. Contains 205763 sequences.