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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114263 n(k) is the minimum number that makes Prime[k]+2*Prime[k+n] a prime. 2
1, 1, 1, 1, 1, 4, 5, 3, 2, 2, 3, 1, 1, 4, 5, 1, 5, 4, 2, 2, 2, 2, 1, 3, 1, 1, 8, 4, 1, 1, 2, 3, 9, 2, 5, 2, 2, 9, 6, 1, 1, 1, 1, 2, 3, 4, 1, 4, 5, 8, 11, 1, 11, 4, 5, 1, 4, 1, 5, 8, 1, 1, 1, 1, 2, 5, 1, 5, 9, 2, 1, 10, 3, 4, 4, 5, 5, 6, 7, 4, 1, 1, 2, 4, 13, 6, 6, 6, 7, 9, 1, 3, 1, 7, 3, 9, 1, 3, 3, 6, 3, 8, 2 (list; graph; refs; listen; history; internal format)
OFFSET

2,6

EXAMPLE

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

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

...

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

...

Prime[7]+2*Prime[7+4]=17+2*31=79 is prime, so n(7)=4;

MATHEMATICA

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

CROSSREFS

Cf. A114227, A114230, A073703, A114235, A114262, A114228, A114231, A114233, A114236.

Sequence in context: A016494 A171870 A201337 * A094850 A163973 A124118

Adjacent sequences:  A114260 A114261 A114262 * A114264 A114265 A114266

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 14 10:09 EST 2012. Contains 205614 sequences.