A116631 Positive integers n such that 13^n == 6 (mod n).
1, 7, 8743, 50239, 312389, 8789977, 87453889, 96301009, 3963715129, 5062673539, 6854133309107, 16987071590111, 72278468169733, 411419589731633, 590475819370933
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Join[{1}, Select[Range[1, 9000], Mod[13^#, #] == 6 &]] (* G. C. Greubel, Nov 19 2017 *) Join[{1}, Select[Range[10000000], PowerMod[13, #, #] == 6 &]] (* Robert Price, Apr 10 2020 *)
-
PARI
isok(n) = Mod(13, n)^n == 6; \\ Michel Marcus, Nov 19 2017
Extensions
More terms from Ryan Propper, Mar 30 2007
Term 1 is prepended and a(11)-a(15) added by Max Alekseyev, Jun 29 2011, Dec 19 2017
Comments