A277371 Positive integers k that divide 7^k + 3.
1, 2, 4, 5, 26, 205, 2404, 88171, 1785134, 2010899, 58796834, 639723359, 657788549, 2050134685, 4809019972, 6114530474, 11931055777, 1292089439947, 1294667166242, 4586221808305
Offset: 1
Examples
7^5 + 3 = 16810 = 5 * 3362, so 5 is a term.
Crossrefs
Programs
-
Mathematica
Select[Range[10000], Divisible[7^# + 3, #] &] (* Alonso del Arte, Oct 11 2016 *) Join[{1,2},Select[Range[21*10^5],PowerMod[7,#,#]==#-3&]] (* The program generates the first 10 terms of the sequence. *) (* Harvey P. Dale, Sep 21 2022 *)
-
PARI
is(n) = Mod(7, n)^n==-3 \\ Felix Fröhlich, Oct 14 2016
Formula
A066438(a(n)) = a(n) - 3 for n > 2.
Extensions
a(15)-a(20) from Max Alekseyev, Oct 18 2016
Comments