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 A010884 #30 Jul 08 2025 01:47:32 %S A010884 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4, %T A010884 5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3, %U A010884 4,5,1,2,3,4,5,1,2,3,4,5,1 %N A010884 Period 5: repeat [1,2,3,4,5]. %C A010884 Partial sums are given by A130483(n)+n+1. - _Hieronymus Fischer_, Jun 08 2007 %C A010884 4115/33333 = 0.12345123451234512345... - _Eric Desbiaux_, Nov 03 2008 %H A010884 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1). %F A010884 a(n) = 1 + (n mod 5). - _Paolo P. Lava_, Nov 21 2006 %F A010884 From _Hieronymus Fischer_, Jun 08 2007: (Start) %F A010884 G.f.: (5*x^4+4*x^3+3*x^2+2*x+1)/(1-x^5) = (5*x^6-6*x^5+1)/((1-x^5)*(1-x)^2). %F A010884 a(n) = A010874(n)+1. (End) %F A010884 a(n) = a(n-5). - _Wesley Ivan Hurt_, Jan 15 2022 %t A010884 PadRight[{},120,Range[5]] (* _Harvey P. Dale_, Dec 08 2018 *) %o A010884 (PARI) a(n)=n%5+1 \\ _Charles R Greathouse IV_, Jul 13 2016 %Y A010884 Cf. A010872, A010873, A010874, A010875, A010876, A004526, A002264, A002265, A002266. %Y A010884 Cf. A177038 (decimal expansion of (195+sqrt(65029))/314). %K A010884 nonn,easy %O A010884 0,2 %A A010884 _N. J. A. Sloane_