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.

A233008 p mod 24, where p is such that 2^p - 1 is prime (see Mersenne primes, A000043).

Original entry on oeis.org

2, 3, 5, 7, 13, 17, 19, 7, 13, 17, 11, 7, 17, 7, 7, 19, 1, 1, 5, 7, 17, 5, 5, 17, 5, 1, 1, 11, 7, 1, 19, 23, 17, 19, 5, 5, 17, 17, 13, 19, 7, 23, 1, 17, 11, 1, 17, 17
Offset: 1

Views

Author

Freimut Marschner, Dec 03 2013

Keywords

Crossrefs

Programs

  • Mathematica
    Mod[#, 24] &@ MersennePrimeExponent@ Range@ 45 (* Michael De Vlieger, Jul 22 2018 *)

Formula

a(n) = A000043(n) mod 24.

Extensions

a(46)-a(47) corrected and a(48) removed by Gord Palameta, Jul 21 2018
a(48) from Amiram Eldar, Oct 15 2024