cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A301580 a(n) is the number of positive integers between successive Mersenne primes.

Original entry on oeis.org

3, 23, 95, 8063, 122879, 393215, 2146959359, 2305843007066210303, 618970017336847128235868159, 162258657859193720701440560726015, 170141021201192402518323912137873817599
Offset: 1

Views

Author

G. L. Honaker, Jr., Mar 23 2018

Keywords

Examples

			a(2) = 23 because there are 23 positive integers between successive Mersenne primes 7 and 31.
		

Crossrefs

Programs

  • Mathematica
    -1 + Differences@ Array[2^MersennePrimeExponent[#] - 1 &, 12] (* Michael De Vlieger, Apr 21 2018 *)

Formula

a(n) = A139231(n) - 1. - Omar E. Pol, Mar 23 2018