Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A154502
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A154502 Sum of any 3 consecutive numbers is prime and a(n+2)-(a(n+1)+a(n)) is prime, a(0)=3,a(1)=31. +0
1
3, 31, 37, 71, 89, 157, 163 (list; graph; listen)
OFFSET

1,1

COMMENT

3+31+37=71;37-(3+31)=3,...

MATHEMATICA

a=3; b=31; 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, 9, 9!}]; lst

CROSSREFS

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

Sequence in context: A023297 A077546 A141177 this_sequence A046282 A045709 A090151

Adjacent sequences: A154499 A154500 A154501 this_sequence A154503 A154504 A154505

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research