A167628 n^11 mod 13.
0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9, 10, 8, 11, 2, 5, 3, 4, 6, 12, 0, 1, 7, 9
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
PowerMod[Range[0,100],11,13] (* Harvey P. Dale, Oct 31 2011 *)
-
PARI
a(n)=n^11%13 \\ Charles R Greathouse IV, Apr 06 2016
-
Sage
[power_mod(n,11,13) for n in range(0, 95)]
Formula
a(n+13) = a(n). - G. C. Greubel, Jun 17 2016
Comments