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!)
A153065 Prime numbers such that the sum of any 5 consecutive terms is a prime. 2

%I #2 Mar 31 2012 12:38:18

%S 3,5,11,19,23,31,43,47,53,59,61,73,101,103,149,151,157,167,173,179,

%T 181,211,223,227,251,269,307,313,331,347,359,373,379,389,401,409,419,

%U 421,431,433,439,479,487,503,509,571,577,593,601,659,691,709,773,811,839

%N Prime numbers such that the sum of any 5 consecutive terms is a prime.

%t a=3;b=5;c=11;d=19;lst={a,b,c,d};Do[z=a+b+c+d+n;If[PrimeQ[z]&&n>b&&PrimeQ[n],AppendTo[lst,n];a=b;b=c;c=d;d=n],{n,0,8!}];lst

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Dec 17 2008

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 August 27 19:37 EDT 2024. Contains 375471 sequences. (Running on oeis4.)