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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154500 Sum of any 3 consecutive numbers is prime and a(n+2)-(a(n+1)+a(n)) is prime, a(0)=3,a(1)=5. 2
3, 5, 11, 13, 17, 23, 43, 47, 59 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

3+5+11=19;11-(3+5)=3, 5+11+13=29;13-(5+11)=-3, 11+13+17=41;17-(11+13)=-7, 13+17+23=53;23-(13+17)=-7,...

MATHEMATICA

a=3; b=5; lst={a, b}; Do[c=Prime[n]; p1=c+a+b; p2=c-(a+b); If[PrimeQ[p1]&&PrimeQ[p2], AppendTo[lst, c]; a=b; b=c], {n, 5, 9!}]; lst

CROSSREFS

Cf. A154484, A154485, A154486, A154487, A154488, A154493, A154494, A154495, A154496, A062391, A154497, A154498

Sequence in context: A072539 A062391 A038951 * A020578 A178604 A153443

Adjacent sequences:  A154497 A154498 A154499 * A154501 A154502 A154503

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 18:41 EST 2012. Contains 206074 sequences.