This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A168428 a(n) = 4^n mod 10. 1
 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 Index entries for linear recurrences with constant coefficients, signature (0, 1). 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 xrange(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 Cf. A000302, A010879. Sequence in context: A199865 A196818 A010711 * A127018 A083396 A142973 Adjacent sequences:  A168425 A168426 A168427 * A168429 A168430 A168431 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 16 23:49 EDT 2019. Contains 325092 sequences. (Running on oeis4.)