login
A216127
a(n) = 6^n mod 1000.
1
1, 6, 36, 216, 296, 776, 656, 936, 616, 696, 176, 56, 336, 16, 96, 576, 456, 736, 416, 496, 976, 856, 136, 816, 896, 376, 256, 536, 216, 296, 776, 656, 936, 616, 696, 176, 56, 336, 16, 96, 576, 456, 736, 416, 496, 976, 856, 136, 816, 896, 376, 256, 536, 216, 296, 776
OFFSET
0,2
COMMENTS
Terms 1, 6 and 36 occur only once. Period length = 25.
LINKS
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,0,0,0,0,0,1).
MATHEMATICA
PowerMod[6, Range[0, 100], 1000] (* Vincenzo Librandi, Aug 16 2016 *)
PadRight[{1, 6, 36}, 120, {376, 256, 536, 216, 296, 776, 656, 936, 616, 696, 176, 56, 336, 16, 96, 576, 456, 736, 416, 496, 976, 856, 136, 816, 896}] (* Harvey P. Dale, Jan 24 2022 *)
PROG
(PARI) for(i=0, 100, print(6^i%1000" "))
(Magma) [Modexp(6, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016
CROSSREFS
Cf. A001311.
Sequence in context: A074436 A036162 A061708 * A337970 A124535 A267789
KEYWORD
nonn,easy
AUTHOR
V. Raman, Sep 01 2012
EXTENSIONS
a(0) = 1 prepended and offset changed by Vincenzo Librandi, Aug 16 2016
STATUS
approved