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!)
A090837 Primes p such that p, p+6, p+12, p+18 are consecutive primes and p = 6*k+1 for some k. 9

%I #16 Nov 11 2020 22:50:19

%S 1741,3301,5101,6361,15901,18211,19471,30091,30631,53611,63691,71341,

%T 77551,80911,83431,89101,91291,95911,105361,105601,108631,119551,

%U 120811,130681,141061,144241,152941,172981,186871,206191,218131,228841,230221,252151,263071,280921,285451

%N Primes p such that p, p+6, p+12, p+18 are consecutive primes and p = 6*k+1 for some k.

%H Robert Israel, <a href="/A090837/b090837.txt">Table of n, a(n) for n = 1..2000</a>

%e 1741, 1747, 1753, 1759 are consecutive primes, 1747 = 1741 + 6, 1753 = 1741 + 12, 1759 = 1741 + 18 and 1741 = 6 * 290 + 1.

%p filter:= p -> isprime(p) and nextprime(p) = p+6 and nextprime(p+6)=p+12 and nextprime(p+12)=p+18:

%p select(filter, [seq(i,i=1..10^6,6)]); # _Robert Israel_, Nov 11 2020

%o (PARI) isok(p) = my(q,r,s); isprime(p) && ((p % 6) == 1) && ((q=nextprime(p+1)) == p+6) && ((r=nextprime(q+1)) == p+12) && ((s=nextprime(r+1)) == p+18); \\ _Michel Marcus_, Sep 20 2019

%Y Cf. A033451, A090832, A090833, A090834, A090835, A090836, A090838, A090839.

%K easy,nonn

%O 1,1

%A _Pierre CAMI_, Dec 09 2003

%E More terms from _Michel Marcus_, Sep 20 2019

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 March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)