login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082510 Differences of consecutive primes being divisible by 6 in order of their appearance in A001223: terms not divisible by 6 are omitted from A001223. 0
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 12, 12, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 12, 6, 12, 18, 6, 6, 6, 6, 6, 6, 6, 6, 12, 6, 6, 12, 6, 6, 6, 6, 12, 6, 6, 6, 6, 6, 12, 6, 6, 6, 18, 6, 6, 6, 6, 6, 6, 12, 6, 6, 6, 12, 18, 6, 6, 12, 6, 6, 6, 18, 6, 6, 12, 6, 12, 12, 12, 6, 6, 6, 6, 6, 6, 24, 12, 6, 6, 6, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..95.

MATHEMATICA

Do[s=Mod[d=Prime[n+1]-Prime[n], 6]; If[Equal[s, 0], Print[d]], {n, 1, 1000}]

Select[Last[#]-First[#]&/@Partition[Prime[Range[500]], 2, 1], Divisible[ #, 6]&] (* Harvey P. Dale, Mar 18 2012 *)

CROSSREFS

Cf. A001223, A082508, A082509.

Sequence in context: A020793 A021019 A177057 * A113427 A082509 A226280

Adjacent sequences:  A082507 A082508 A082509 * A082511 A082512 A082513

KEYWORD

nonn

AUTHOR

Labos Elemer, Apr 28 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 01:49 EDT 2018. Contains 316518 sequences. (Running on oeis4.)