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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154484 a(n+1)-+a(n)=prime, a(0)=0,a(1)=2. 13
0, 2, 5, 8, 11, 18, 23, 30, 37, 42, 47, 50, 53, 56, 75, 82, 85, 88, 91, 102, 109, 114, 119, 122, 129, 134, 137, 140, 143, 150, 157, 160, 171, 176, 183, 190, 193, 196, 201, 208, 211, 222, 227, 230, 233, 246, 253, 256, 267, 274, 297, 302, 305, 308, 311, 330, 343 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Sum and difference of any of two consecutive numbers in current sequence are prime numbers : 5-2=3;5+2=7, 230-227=3;230+227=457, 233-230=3;233+230=463,...

MATHEMATICA

a=0; b=2; lst={a, b}; Do[If[PrimeQ[n-b]&&PrimeQ[n+b], AppendTo[lst, n]; a=b; b=n], {n, 3, 7!}]; lst

CROSSREFS

Sequence in context: A186496 A032765 A192147 * A129300 A107679 A018846

Adjacent sequences:  A154481 A154482 A154483 * A154485 A154486 A154487

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Jan 10 2009

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 17 10:05 EST 2012. Contains 206009 sequences.