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.

A234810 Primes p such that p^2 divides 14^(p-1) - 1.

Original entry on oeis.org

29, 353, 7596952219
Offset: 1

Views

Author

Felix Fröhlich, Apr 19 2014

Keywords

Comments

Base 14 Wieferich primes.

Crossrefs

Cf. A001220.

Programs

  • Mathematica
    Select[Prime[Range[200]], Divisible[14^(# - 1) - 1, #^2] &] (* Alonso del Arte, Apr 20 2014 *)
    Select[Prime[Range[200]],PowerMod[14,#-1,#^2]==1&] (* The program generates the first two terms of the sequence. To generate the third term, increase the Range constant to 351*10^5, but the program will take a long time to run. *) (* Harvey P. Dale, Jun 19 2021 *)
  • PARI
    N=10^9; default(primelimit, N);
    forprime(n=2, N, if(Mod(14, n^2)^(n-1)==1, print1(n, ", ")));