%I #22 Sep 08 2022 08:44:29
%S 1,6,36,16,96,76,56,36,16,96,76,56,36,16,96,76,56,36,16,96,76,56,36,
%T 16,96,76,56,36,16,96,76,56,36,16,96,76,56,36,16,96,76,56,36,16,96,76,
%U 56,36,16,96,76,56,36,16,96
%N Final 2 digits of 6^n.
%C The period is 5.
%H Vincenzo Librandi, <a href="/A001311/b001311.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Fi#final">Index entries for sequences related to final digits of numbers</a>
%H INRIA Algorithms Project, <a href="http://ecs.inria.fr/services/structure?nbr=202">Encyclopedia of Combinatorial Structures 202</a>
%t PowerMod[6, Range[0, 60], 100] (* _Vincenzo Librandi_, Aug 15 2016 *)
%o (PARI) a(n)=lift(Mod(6,100)^n) \\ _Charles R Greathouse IV_, Dec 28 2012
%o (Magma) [Modexp(6, n, 100): n in [0..110]]; // _Vincenzo Librandi_, Aug 15 2016
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_