OFFSET
0,2
LINKS
FORMULA
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
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 25 2009
STATUS
approved