login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168428 a(n) = 4^n mod 10. 3
1, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A010879(A000302(n)). - Michel Marcus, Jul 23 2016
MATHEMATICA
PowerMod[4, Range[0, 25], 10] (* G. C. Greubel, Jul 22 2016 *)
PROG
(Sage) [power_mod(4, n, 10)for n in range(0, 94)] #
(PARI) a(n)=lift(Mod(4, 10)^n) \\ Charles R Greathouse IV, Mar 22 2016
(Magma) [Modexp(4, n, 10): n in [0..100]]; // Vincenzo Librandi, Jul 23 2016
CROSSREFS
Last elements of rows of A008565.
Sequence in context: A199865 A196818 A010711 * A351126 A127018 A083396
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 25 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 07:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)