login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216125 a(n) = 5^n mod 1000. 1
1, 5, 25, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625, 125, 625 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Period = 2.

Also, continued fraction expansion of 1 + (150625 - 3*sqrt(43405))/755998. - Bruno Berselli, Sep 03 2012

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..1001

Index entries for linear recurrences with constant coefficients, signature (0,1).

FORMULA

G.f.: (1 + 5*x + 24*x^2 + 120*x^3 + 600*x^4)/((1 - x)*(1 + x)). - Bruno Berselli, Sep 03 2012

MATHEMATICA

PowerMod[5, Range[0, 100], 1000] (* Vincenzo Librandi, Aug 16 2016 *)

PROG

(PARI) for(i=0, 100, print(5^i%1000" "))

(MAGMA) [Modexp(5, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016

CROSSREFS

Sequence in context: A269652 A163844 A250357 * A057831 A014946 A188580

Adjacent sequences:  A216122 A216123 A216124 * A216126 A216127 A216128

KEYWORD

nonn,easy

AUTHOR

V. Raman, Sep 01 2012

EXTENSIONS

a(0) = 1 prepended and offset changed by Vincenzo Librandi, Aug 16 2016

Edited by Bruno Berselli, Aug 16 2016

More terms from Antti Karttunen, Sep 14 2017

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 July 17 23:21 EDT 2019. Contains 325109 sequences. (Running on oeis4.)