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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A141035 Period 10: repeat 0, 0, 4, 2, -2, 4, 2, -4, -4, -2. 0

%I

%S 0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,-4,

%T -2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,

%U -4,-2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2,-4,-4,-2,0,0,4,2,-2,4,2

%N Period 10: repeat 0, 0, 4, 2, -2, 4, 2, -4, -4, -2.

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

%F a(n) = -(1/5)*((n mod 10) + ((n+1) mod 10) - 3*((n+3) mod 10) - ((n+4) mod 10) + 3*((n+5) mod 10) - 2*((n+6) mod 10) - ((n+7) mod 10) + 2*((n+8) mod 10)), with n >= 0. - _Paolo P. Lava_, Aug 04 2008

%F G.f.: 2*x^2*(1+x)*(x^4+x^3+2*x^2-x+2) / ( (1+x+x^2+x^3+x^4)*(x^4-x^3+x^2-x+1) ). - _R. J. Mathar_, Oct 08 2011

%t PadRight[{}, 100, {0, 0, 4, 2, -2, 4, 2, -4, -4, -2}] (* _Jinyuan Wang_, Feb 26 2020 *)

%K sign,easy,less

%O 0,3

%A _Paul Curtz_, Jul 30 2008

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.

Last modified February 5 09:25 EST 2023. Contains 360084 sequences. (Running on oeis4.)