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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A001264 Final 2 digits of 4^n. 1
1, 4, 16, 64, 56, 24, 96, 84, 36, 44, 76, 4, 16, 64, 56, 24, 96, 84, 36, 44, 76, 4, 16, 64, 56, 24, 96, 84, 36, 44, 76, 4, 16, 64, 56, 24, 96, 84, 36, 44, 76, 4, 16, 64, 56, 24, 96, 84, 36, 44, 76, 4, 16, 64, 56, 24, 96 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The period is 10: for n > 0, a(n) = a(n + 10).

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,0,0,0,-1,1).

MAPLE

seq(4^n mod 10^2, n=0..60); # Martin Renner, Jan 25 2017

MATHEMATICA

PowerMod[4, Range[0, 60], 100] (* Vincenzo Librandi, Aug 15 2016 *)

PROG

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

(PARI) a(n)=lift(Mod(4, 100)^n) \\ Charles R Greathouse IV, Jan 25 2017

CROSSREFS

Sequence in context: A073533 A061283 A242354 * A114399 A029993 A268066

Adjacent sequences:  A001261 A001262 A001263 * A001265 A001266 A001267

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 22 23:18 EDT 2018. Contains 316518 sequences. (Running on oeis4.)