A327943 Numbers m that divide 6^m + 5.
1, 11, 341, 186787, 8607491, 9791567, 11703131, 14320387, 50168819, 952168003, 71654478989, 1328490399527
Offset: 1
Crossrefs
Programs
-
Magma
[1] cat [n: n in [1..10^8] | Modexp(6, n, n) + 5 eq n];
-
Mathematica
Join[{1},Select[Range[98*10^5],PowerMod[6,#,#]==#-5&]] (* The program generates the first six terms of the sequence. To generate more, increase the Range constant but the program may take a long time to run. *) (* Harvey P. Dale, Feb 05 2022 *)
Extensions
a(11) from Giovanni Resta, Oct 02 2019
a(12) from Max Alekseyev, Nov 10 2022
Comments