[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes p such that p, p+60, p+120, p+180 are consecutive primes.
10

%I #27 Oct 31 2018 09:27:31

%S 253444777,271386581,286000489,415893013,475992773,523294549,

%T 620164949,794689481,838188877,840725323,846389227,884106599,

%U 884951807,908725507,941796223,952288331,971614151,1002290693,1003166771,1006976797,1053792359,1097338313,1163141201

%N Primes p such that p, p+60, p+120, p+180 are consecutive primes.

%C Subsequence of A089234 which itself is a subsequence of A126771:

%C a(1) = 253444777 = A089234(417) = A126771(81526),

%C a(36) = 1998782563 = A089234(5579) = A126771(788920).

%H Zak Seidov, <a href="/A210683/b210683.txt">Table of n, a(n) for n = 1..1000</a>

%o (PARI) A210683(n, p=2, v=1, g=60, c, o)={forprime(q=p+1, , if(p+g!=p=q, next, q!=o+2*g, c=2, c++>3, v&& print1(o-g", "); n--||break); o=q-g); o-g} \\ Can be used as next(p)=A210683(1, p) to get the next term, e.g.:

%o p=0; A210683_vec=vector(10,i,p=A210683(1,p)) \\ Will take a long time! - _M. F. Hasler_, Oct 26 2018

%Y Cf. A089234, A126771.

%Y Analogous sequences (start of CPAP-4, with common difference in square brackets): A033451 [6], A033447 [12], A033448 [18], A052242 [24], A052243 [30], A058252 [36], A058323 [42], A067388 [48], A259224 [54].

%Y Cf. A054800: union of all sequences of this type (start of CPAP-4).

%K nonn

%O 1,1

%A _Zak Seidov_, May 09 2012