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!)
A053320 Distance between pairs of primes differing by 4. 5
4, 6, 6, 18, 6, 24, 12, 18, 6, 6, 18, 36, 30, 30, 6, 48, 30, 6, 36, 30, 18, 42, 18, 6, 24, 12, 114, 30, 30, 66, 18, 12, 54, 30, 6, 18, 6, 24, 30, 30, 42, 78, 6, 120, 66, 18, 6, 120, 6, 18, 36, 6, 60, 18, 12, 18, 12, 54, 30, 90, 84, 6, 120, 6, 84, 54, 66, 36, 30, 24, 54, 30, 12, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
with(numtheory): pre:=0: for n from 1 to 3000 do if isprime(n) and isprime(n+4) then if pre<>0 then printf("%d, ", n-pre) fi: pre:=n fi od: # C. Ronaldo
MATHEMATICA
Differences[Select[Prime[Range[500]], PrimeQ[# + 4]&]] (* Vincenzo Librandi, Jul 11 2013 *)
CROSSREFS
First differences of A023200.
Cf. A227346.
Sequence in context: A272771 A346675 A077038 * A351649 A019090 A145692
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Mar 06 2000
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 July 17 08:58 EDT 2024. Contains 374363 sequences. (Running on oeis4.)