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

 

Logo


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

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 *)

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: A163713 A192897 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 October 20 05:42 EDT 2017. Contains 293601 sequences.