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!)
A029709 Numbers k such that k-th and (k+1)st primes differ by 4. 30
4, 6, 8, 12, 14, 19, 22, 25, 27, 29, 31, 38, 44, 48, 50, 59, 63, 65, 70, 75, 78, 85, 88, 90, 93, 95, 112, 117, 122, 131, 134, 136, 143, 147, 149, 151, 153, 155, 159, 163, 169, 181, 183, 198, 207, 211, 213, 224, 226, 229, 235, 237, 244, 247, 249, 251 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Positions of 4 in A001223. - Zak Seidov, Apr 28 2015
LINKS
N. J. A. Sloane and K. D. Bajpai, Table of n, a(n) for n = 1..10213 (first 56 terms from N. J. A. Sloane)
MATHEMATICA
Select[Range[2, 300], 4 == (Prime[# + 1] - Prime[#]) &] (* Vincenzo Librandi, Apr 28 2015 *)
PROG
(Magma) [n: n in [0..300] | NthPrime(n+1) - NthPrime(n) eq 4]; // Vincenzo Librandi, Apr 28 2015
CROSSREFS
Sequence in context: A089257 A113451 A270191 * A046458 A096629 A334468
KEYWORD
nonn
AUTHOR
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 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)