OFFSET
0,2
COMMENTS
a(n) is the remainder of 10^n divided by 97. Repeats after 96 terms.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
EXAMPLE
For n=6, a(6)=27.
MAPLE
[seq(10^n mod 97, n=0..200)]; # N. J. A. Sloane, Jun 25 2014
MATHEMATICA
Table[PowerMod[10, n, 97], {n, 0, 100}] (* Vincenzo Librandi, Jun 26 2014 *)
PROG
(Sage) [power_mod(10, n, 97) for n in (0..100)] # Bruno Berselli, Jun 26 2014
(PARI) a(n)=lift(Mod(10, 97)^n) \\ Charles R Greathouse IV, Mar 22 2016
(Magma) [Modexp(10, n, 97): n in [0..100]]; // Bruno Berselli, Mar 22 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Xueshi Gao, Jun 01 2014
EXTENSIONS
Changed offset; made it into an infinite sequence. - N. J. A. Sloane, Jun 25 2014
STATUS
approved