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.

User: Mark Dowdeswell

Mark Dowdeswell's wiki page.

Mark Dowdeswell has authored 2 sequences.

A080172 Final digit of n-th Mersenne prime A000668(n).

Original entry on oeis.org

3, 7, 1, 7, 1, 1, 7, 7, 1, 1, 7, 7, 1, 7, 7, 7, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 7, 7, 1, 7, 1, 1, 1, 1, 1, 7, 7, 7, 1, 1, 7, 1, 1, 1
Offset: 1

Author

Mark Dowdeswell, Feb 04 2003

Keywords

Comments

Distribution of final digit for Mersenne primes appears (naturally) to be different from distribution for regular primes. Unconfirmed 49th, 50th and 51st digits in sequence are 1, 1, 1 (awaiting confirmation of 49th, 50th and 51st Mersenne primes).

References

  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 16.

Crossrefs

Programs

  • Maple
    (Maple code from N. J. A. Sloane) # let s1 := list of terms in A000043
    f:=n->if n mod 4 = 0 then 4 else n mod 4; fi; map(x->2^f(x)-1,s1);
  • Mathematica
    Mod[2^MersennePrimeExponent[Range[48]]-1,10] (* Harvey P. Dale, Aug 09 2023; updated by Mark Dowdeswell, Sep 16 2024 *)

Extensions

Updated by N. J. A. Sloane, Apr 01 2008
a(40)-a(47) from Ivan Panchenko, Apr 11 2018
a(48) from Mark Dowdeswell, Sep 16 2024

A080173 Final 2 digits of n-th Mersenne prime A000668(n).

Original entry on oeis.org

3, 7, 31, 27, 91, 71, 87, 47, 51, 11, 27, 27, 51, 27, 87, 7, 51, 71, 91, 7, 11, 51, 91, 71, 51, 11, 71, 7, 7, 11, 47, 87, 91, 27, 11, 51, 71, 91, 71, 47, 7, 47, 71, 71, 27, 51, 11, 51
Offset: 1

Author

Mark Dowdeswell, Feb 04 2003

Keywords

Crossrefs

Programs

  • Mathematica
    Mod[2^MersennePrimeExponent[Range[48]]-1, 100] (* Mark Dowdeswell, Sep 16 2024 *)

Extensions

Offset corrected by Arkadiusz Wesolowski, Jan 26 2012
a(39)-a(47) from Ivan Panchenko, Apr 11 2018
a(48) from Mark Dowdeswell, Sep 16 2024