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!)
A204672 Primes followed by a gap of 120. 3
1895359, 2898239, 6085441, 7160227, 7784039, 7803491, 7826899, 8367397, 8648557, 9452959, 10052071, 10863973, 11630503, 11962823, 12109697, 12230233, 12415681, 14411737, 14531899, 15014557, 15020737, 15611909, 16179041 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..433 (all a(n) < 10^8).
MATHEMATICA
Transpose[Select[Partition[Prime[Range[1100000]], 2, 1], Last[#]-First[#] == 120&]] [[1]] (* Harvey P. Dale, Jul 11 2014 *)
PROG
(PARI) g=120; c=o=0; forprime(p=1, default(primelimit), (-o+o=p)==g&write("c:/temp/b204672.txt", c++" "p-g))
(MATLAB)
N = 2*10^7; % to get all terms <= N
P = primes(N+120);
J = find(P(2:end) - P(1:end-1) == 120);
P(J) % Robert Israel, Feb 28 2017
CROSSREFS
Cf. A058193 (first gap of 6n), A140791 (first gap of 10n).
Cf. A126771 (gap 60), A126724 (gap 150), A204673 (gap 180).
Sequence in context: A032596 A032597 A203794 * A323705 A249318 A194620
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 18 2012
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 April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)