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!)
A286634 Numerator of the ratio of alternate consecutive prime gaps: Numerator ((prime(n + 3) - prime(n + 2))/(prime(n + 1) - prime(n))). 1
2, 2, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 3, 3, 1, 1, 2, 1, 3, 2, 1, 2, 2, 1, 1, 1, 1, 7, 1, 3, 1, 5, 1, 3, 3, 2, 1, 3, 1, 5, 1, 2, 1, 3, 6, 1, 1, 1, 3, 1, 5, 3, 3, 1, 1, 1, 2, 1, 5, 7, 2, 1, 1, 7, 3, 5, 1, 2, 3, 2, 1, 3, 2, 1, 2, 2, 1, 5, 1, 1, 1, 3, 2, 1, 2, 2, 1, 1, 6, 2, 1, 1, 1, 3, 3, 1, 3, 3, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = numerator((prime(n + 3) - prime(n + 2))/(prime(n + 1) - prime(n))).
A000040(n+3) = 5 + Sum_{k=1..n} ((1+(-1)^k)*Product_{j=1..k}(a(j)/A285851(j))^((1+(-1)^j)/2) + ((1-(-1)^k)/2)*Product_{j=1..k}(a(j)/A285851(j))^((1-(-1)^j)/2)), for n>0.
A001223(n+2) = (1+(-1)^n)*Product_{j=1..n}(a(j)/A285851(j))^((1+(-1)^j)/2) - ((-1+(-1)^n)/2)*Product_{j=1..n}(a(j)/A285851(j))^((1-(-1)^j)/2), for n>0
MATHEMATICA
Table[Numerator[(Prime[k+3]-Prime[k+2])/(Prime[k+1]-Prime[k])], {k, 100}]
CROSSREFS
Cf. A285851 (denominators), A001223, A000040, A272863, A276309.
Sequence in context: A060990 A276309 A165031 * A099245 A185331 A206474
KEYWORD
nonn,frac
AUTHOR
Andres Cicuttin, May 11 2017
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 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)