login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010884 Period 5: repeat [1,2,3,4,5]. 2

%I #28 Feb 19 2024 01:51:29

%S 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 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 4,5,1,2,3,4,5,1,2,3,4,5,1

%N Period 5: repeat [1,2,3,4,5].

%C Partial sums are given by A130483(n)+n+1. - _Hieronymus Fischer_, Jun 08 2007

%C 4115/33333 = 0.12345123451234512345... - _Eric Desbiaux_, Nov 03 2008

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).

%F a(n) = 1 + (n mod 5). - _Paolo P. Lava_, Nov 21 2006

%F From _Hieronymus Fischer_, Jun 08 2007: (Start)

%F 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 a(n) = A010874(n)+1. (End)

%F a(n) = a(n-5). - _Wesley Ivan Hurt_, Jan 15 2022

%t PadRight[{},120,Range[5]] (* _Harvey P. Dale_, Dec 08 2018 *)

%o (PARI) a(n)=n%5+1 \\ _Charles R Greathouse IV_, Jul 13 2016

%Y Cf. A010872, A010873, A010874, A010875, A010876, A004526, A002264, A002265, A002266.

%Y Cf. A177038 (decimal expansion of (195+sqrt(65029))/314).

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 00:27 EDT 2024. Contains 371696 sequences. (Running on oeis4.)