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.
%I A168428 #25 Sep 08 2022 08:45:49 %S A168428 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, %T A168428 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, %U A168428 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 %N A168428 a(n) = 4^n mod 10. %H A168428 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 1). %F A168428 a(n) = A010879(A000302(n)). - _Michel Marcus_, Jul 23 2016 %t A168428 PowerMod[4, Range[0, 25], 10] (* _G. C. Greubel_, Jul 22 2016 *) %o A168428 (Sage) [power_mod(4, n, 10)for n in range(0, 94)] # %o A168428 (PARI) a(n)=lift(Mod(4,10)^n) \\ _Charles R Greathouse IV_, Mar 22 2016 %o A168428 (Magma) [Modexp(4, n, 10): n in [0..100]]; // _Vincenzo Librandi_, Jul 23 2016 %Y A168428 Cf. A000302, A010879. %Y A168428 Last elements of rows of A008565. %K A168428 nonn,easy %O A168428 0,2 %A A168428 _Zerinvary Lajos_, Nov 25 2009