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.

A242958 Numbers n such that 3^phi(n) == 1 (mod n^2), where phi(n) is Euler's totient function.

Original entry on oeis.org

11, 22, 44, 55, 110, 220, 440, 880, 1006003, 2012006, 4024012, 11066033, 22132066, 44264132, 55330165, 88528264, 110660330, 221320660, 442641320, 885282640, 1770565280, 56224501667, 112449003334, 224898006668, 393571511669, 449796013336, 618469518337, 787143023338
Offset: 1

Views

Author

Felix Fröhlich, May 27 2014

Keywords

Comments

a(21) > 10^9.
All listed composite terms are multiples of the two known primes in this sequence, 11 and 1006003, the only known base 3 Wieferich primes.

Crossrefs

Programs

  • Mathematica
    Select[Range[1000], Mod[3^EulerPhi[#], #^2] == 1 &] (* Alonso del Arte, Jun 02 2014 *)
  • PARI
    for(n=2, 10^9, if(Mod(3, n^2)^(eulerphi(n))==1, print1(n, ", ")))

Extensions

Terms a(21) and beyond from Giovanni Resta, Jan 27 2020