A216129 a(n) = 7^n mod 1000.
1, 7, 49, 343, 401, 807, 649, 543, 801, 607, 249, 743, 201, 407, 849, 943, 601, 207, 449, 143, 1, 7, 49, 343, 401, 807, 649, 543, 801, 607, 249, 743, 201, 407, 849, 943, 601, 207, 449, 143, 1, 7, 49, 343, 401, 807, 649, 543, 801, 607, 249, 743, 201, 407, 849, 943, 601, 207, 449, 143, 1
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1).
Programs
-
Magma
[Modexp(7, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016
-
Mathematica
PowerMod[7, Range[0, 100], 1000] (* Vincenzo Librandi, Aug 16 2016 *)
-
PARI
for(i=0, 100, print(7^i%1000" "))
Extensions
a(0) = 1 prepended and offset changed by Vincenzo Librandi, Aug 16 2016
Comments