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

 

Logo

The October issue of the Notices of the Amer. Math. Soc. has an article about the OEIS.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014390 Final 2 digits of 7^n. 4
1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7, 49, 43, 1, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for sequences related to final digits of numbers

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

FORMULA

a(n) = 7^n mod 50. [Zerinvary Lajos, Nov 27 2009]

MATHEMATICA

PowerMod[7, Range[0, 70], 100] (* Harvey P. Dale, Jan 23 2012 *)

LinearRecurrence[{1, -1, 1}, {1, 7, 49}, 70] (* Harvey P. Dale, May 09 2018 *)

PROG

(Sage) [power_mod(7, n, 50)for n in xrange(0, 80)] # Zerinvary Lajos, Nov 27 2009

(PARI) a(n)=lift(Mod(7, 100)^n) \\ Charles R Greathouse IV, Jan 02 2013

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

CROSSREFS

Sequence in context: A192897 A317014 A115589 * A043070 A083930 A178367

Adjacent sequences:  A014387 A014388 A014389 * A014391 A014392 A014393

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 11:05 EDT 2018. Contains 315389 sequences. (Running on oeis4.)