login
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
OFFSET
1,1
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