The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154501 Sum of any 3 consecutive numbers is prime and a(n+2)-(a(n+1)+a(n)) is prime, a(1)=3,a(2)=11. 1
3, 11, 17, 31, 41, 59, 97, 113, 127, 139 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
3+11+17=31;17-(3+11)=3,...
LINKS
MATHEMATICA
a=3; b=11; 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
Sequence in context: A038986 A276848 A194800 * A045432 A340541 A186424
KEYWORD
nonn
AUTHOR
EXTENSIONS
NAME adapted to offset. - R. J. Mathar, Jun 19 2021
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 05:23 EDT 2024. Contains 373144 sequences. (Running on oeis4.)