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.

Showing 1-2 of 2 results.

A336719 Largest odd prime p for which the order of 2 mod p is at most n.

Original entry on oeis.org

3, 7, 7, 31, 31, 127, 127, 127, 127, 127, 127, 8191, 8191, 8191, 8191, 131071, 131071, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 524287, 2147483647, 2147483647, 2147483647, 2147483647, 2147483647, 2147483647
Offset: 2

Views

Author

Jeppe Stig Nielsen, Aug 01 2020

Keywords

Comments

a(1) is undefined.
Changing "at most n" to "equal to n" in the definition gives A097406.
The first term that is not a Mersenne prime (A000668) is 4432676798593.
For a version without duplicates, see A336720. For a list of all n where a(n) increases, see A336721.

Crossrefs

Programs

  • PARI
    re=0;for(n=2,+oo,p=vecmax(factor(2^n-1)[,1]);p>re&&re=p;print1(re,", "))

A336721 Values k where A336719(k) increases.

Original entry on oeis.org

2, 3, 5, 7, 13, 17, 19, 31, 49, 61, 83, 89, 107, 127, 167, 179, 197, 233, 241, 269, 281, 347, 373, 421, 443, 457, 487, 521, 607, 697, 769, 829, 881, 1049, 1063
Offset: 1

Views

Author

Jeppe Stig Nielsen, Aug 01 2020

Keywords

Comments

Also, values k (record positions) where A005420(k) reaches a new maximum. For the maximum itself, see A336720.
A000043 is a subsequence.

Crossrefs

Programs

  • PARI
    re=0;for(k=2,+oo,p=vecmax(factor(2^k-1)[,1]);if(p>re,re=p;print1(k,", ")))
Showing 1-2 of 2 results.