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.

A167873 Period 4: repeat [10, 6, 10, 4].

This page as a plain text file.
%I A167873 #29 Oct 13 2022 14:25:29
%S A167873 10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,
%T A167873 4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,
%U A167873 10,4,10,6,10,4,10,6,10,4,10,6,10,4,10,6,10,4
%N A167873 Period 4: repeat [10, 6, 10, 4].
%C A167873 Number of different remainders mod 10 of n-th powers (i.e., number of possible last decimal digits of n-th powers).
%C A167873 Continued fraction expansion of (124+sqrt(16926))/25. - _Klaus Brockhaus_, May 01 2010
%H A167873 Muniru A Asiru, <a href="/A167873/b167873.txt">Table of n, a(n) for n = 1..1000</a>
%H A167873 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,1).
%F A167873 a(n) = 8 - 4*((n+1) mod 2) + 2*ceiling(n/4) - 2*floor(n/4). - _Wesley Ivan Hurt_, Mar 26 2014
%F A167873 a(n) = 15/2 - (5/2)*cos(n*Pi) - cos(n*Pi/2). - _Wesley Ivan Hurt_, Oct 05 2018
%e A167873 a(4) = 4 because the possible last decimal digits of 4th powers are 0, 1, 5, 6.
%p A167873 seq(op([10, 6, 10, 4]), n=0..30); # _Wesley Ivan Hurt_, Oct 06 2018
%t A167873 PadRight[{},80,{10,6,10,4}] (* _Harvey P. Dale_, Nov 29 2015 *)
%o A167873 (GAP) Flat(List([1..30],n->[10,6,10,4])); # _Muniru A Asiru_, Oct 06 2018
%Y A167873 Cf. A177015 (decimal expansion of (124+sqrt(16926))/25). - _Klaus Brockhaus_, May 01 2010
%K A167873 easy,nonn
%O A167873 1,1
%A A167873 _Franz Vrabec_, Nov 14 2009