login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A243239 a(n) = 10^n mod 97. 1
1, 10, 3, 30, 9, 90, 27, 76, 81, 34, 49, 5, 50, 15, 53, 45, 62, 38, 89, 17, 73, 51, 25, 56, 75, 71, 31, 19, 93, 57, 85, 74, 61, 28, 86, 84, 64, 58, 95, 77, 91, 37, 79, 14, 43, 42, 32, 29, 96, 87, 94, 67, 88, 7, 70, 21, 16, 63, 48, 92, 47, 82, 44, 52, 35, 59, 8, 80, 24, 46, 72, 41, 22, 26, 66, 78, 4, 40, 12, 23, 36, 69, 11, 13, 33, 39, 2, 20, 6, 60, 18, 83, 54, 55, 65, 68 (list; graph; refs; listen; history; text; internal format)
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

Sequence in context: A068608 A195817 A228314 * A079670 A050100 A103219

Adjacent sequences:  A243236 A243237 A243238 * A243240 A243241 A243242

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 10:03 EST 2020. Contains 332041 sequences. (Running on oeis4.)