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.

A127105 Numbers k such that k^2 divides 5^k-1.

Original entry on oeis.org

1, 2, 4, 6, 12, 42, 52, 84, 156, 186, 372, 1092, 1218, 1302, 1806, 2436, 2604, 2756, 3612, 4836, 5334, 7212, 8268, 10668, 12324, 15918, 18858, 24492, 31668, 31836, 33852, 37716, 37758, 46956, 50484, 52374, 55986, 57876, 71862, 75516, 86268
Offset: 1

Views

Author

Alexander Adamchuk, Jan 05 2007

Keywords

Comments

Subset of A067946 (numbers k such that k divides 5^k-1).

Crossrefs

Cf. A067946 (numbers k such that k divides 5^k-1).

Programs

  • Maple
    select(t -> (5 &^t - 1) mod (t^2) = 0, [$1..10^5]); # Robert Israel, Jul 15 2018
  • Mathematica
    Select[Range[30000], IntegerQ[(PowerMod[5, #, #^2 ]-1)/#^2 ]&]
  • PARI
    isok(n) = Mod(5, n^2)^n == 1; \\ Michel Marcus, Apr 23 2017

Extensions

More terms from Ryan Propper and Alexander Adamchuk, Jan 05 2007