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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276812 Prime gap residues mod previous prime gap. 1
0, 0, 0, 2, 0, 2, 0, 2, 2, 0, 4, 2, 0, 2, 0, 2, 0, 4, 2, 0, 4, 2, 2, 4, 2, 0, 2, 0, 2, 4, 2, 2, 0, 2, 0, 0, 4, 2, 0, 2, 0, 2, 0, 2, 0, 0, 4, 2, 0, 2, 2, 0, 6, 0, 0, 2, 0, 4, 2, 0, 4, 4, 2, 0, 2, 6, 4, 2, 0, 2, 2, 6, 0, 4, 2, 2, 4, 0, 2, 2, 0, 2, 0, 4, 2, 2, 4, 2, 0, 0, 8, 4, 0, 4, 2, 0, 2, 0, 6, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

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

János Pintz, On the ratio of consecutive gaps between primes, arXiv:1406.2658 [math.NT], 2014.

János Pintz, On the Ratio of Consecutive Gaps Between Primes, in Carl Pomerance and Michael Th. Rassias, Analytic Number Theory; In Honor of Helmut Maier’s 60th Birthday, Springer International Publishing, 2015, ISBN 978-3-319-22239-4, pp. 285-304.

EXAMPLE

For n = 4: prime(4+2) = 13, prime(4+1) = 11 and prime(4) = 7. (13-11) % (11-7) = 2 % 4 = 2, so a(4) = 2. - Felix Fröhlich, Oct 04 2016

MATHEMATICA

Table[Mod[Prime[n + 2] - Prime[n + 1], Prime[n + 1] - Prime[n]], {n, 1, 100, 1}]

PROG

(PARI) a(n) = (prime(n+2)-prime(n+1)) % (prime(n+1)-prime(n)) \\ Felix Fröhlich, Oct 04 2016

CROSSREFS

Cf. A274263, A272863, A274225.

Sequence in context: A039979 A204173 A103668 * A246721 A249441 A076472

Adjacent sequences:  A276809 A276810 A276811 * A276813 A276814 A276815

KEYWORD

nonn

AUTHOR

Andres Cicuttin, Sep 18 2016

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 August 21 10:36 EDT 2018. Contains 313937 sequences. (Running on oeis4.)