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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154487 a(n+1)-+a(n)=prime, a(0)=0,a(1)=7. 10
0, 7, 10, 13, 16, 21, 26, 33, 38, 41, 48, 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; text; internal format)
OFFSET

1,2

COMMENTS

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

Variant of A090955. [From R. J. Mathar, Jan 12 2009]

LINKS

Table of n, a(n) for n=1..56.

MATHEMATICA

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

CROSSREFS

Cf. A154484, A154485, A154486

Sequence in context: A184106 A112414 A034810 * A023390 A096678 A327137

Adjacent sequences:  A154484 A154485 A154486 * A154488 A154489 A154490

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jan 10 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 07:47 EST 2019. Contains 329914 sequences. (Running on oeis4.)