cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A014392 Final 2 digits of 8^n.

This page as a plain text file.
%I A014392 #19 Jul 22 2025 13:15:04
%S A014392 1,8,64,12,96,68,44,52,16,28,24,92,36,88,4,32,56,48,84,72,76,8,64,12,
%T A014392 96,68,44,52,16,28,24,92,36,88,4,32,56,48,84,72,76,8,64,12,96,68,44,
%U A014392 52,16,28,24,92,36,88,4,32,56
%N A014392 Final 2 digits of 8^n.
%C A014392 Periodic with period = 20. - _Harvey P. Dale_, Jul 22 2025
%H A014392 Vincenzo Librandi, <a href="/A014392/b014392.txt">Table of n, a(n) for n = 0..1000</a>
%H A014392 <a href="/index/Fi#final">Index entries for sequences related to final digits of numbers</a>
%H A014392 <a href="/index/Rec#order_11">Index entries for linear recurrences with constant coefficients</a>, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1).
%t A014392 PowerMod[8, Range[0, 60], 100] (* _Vincenzo Librandi_, Aug 15 2016 *)
%t A014392 PadRight[{1},120,{76,8,64,12,96,68,44,52,16,28,24,92,36,88,4,32,56,48,84,72}] (* or *) LinearRecurrence[{1,0,0,0,0,0,0,0,0,-1,1},{1,8,64,12,96,68,44,52,16,28,24,92},120] (* _Harvey P. Dale_, Jul 22 2025 *)
%o A014392 (Magma) [Modexp(8, n, 100): n in [0..110]]; // _Vincenzo Librandi_, Aug 15 2016
%K A014392 nonn,base,easy
%O A014392 0,2
%A A014392 _N. J. A. Sloane_