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.

A307220 Record values in A039951.

Original entry on oeis.org

1093, 66161, 46145917691
Offset: 1

Views

Author

Felix Fröhlich, Mar 29 2019

Keywords

Examples

			For n = 2: The second prime p that is the smallest base-b Wieferich prime of a record size among integers b > 1 is 66161 for b = 6, so a(2) = 66161.
		

Crossrefs

Programs

  • PARI
    smallest_w_prime(n) = forprime(p=1, , if(Mod(n, p^2)^(p-1)==1, return(p)))
    my(r=0, b=2, swp=0); while(1, swp=smallest_w_prime(b); if(swp > r, print1(swp, ", "); r=swp); b++)

Formula

a(n) = A039951(A278611(n)).