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; text; 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,...

LINKS

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

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 A250481 A227011

Adjacent sequences:  A154497 A154498 A154499 * A154501 A154502 A154503

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 May 19 04:06 EDT 2019. Contains 323377 sequences. (Running on oeis4.)