The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A152898 Periodic sequence [1,4,0,0,0] of period 5 1
 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0, 1, 4, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS FORMULA a(n+5) = a(n) with a(0) = 1, a(1) = 4 and a(2) = a(3) = a(4) = 0 ; o.g.f f(z) = ((1+4*z)/(1-z^5)) ; a(n) = 1+2/5*5^(1/2)*cos(2*n*Pi/5)+2/5*2^(1/2)*(5+5^(1/2))^(1/2)*sin(2*n*Pi/5)-2/5*5^(1/2)*cos(4*n*Pi/5)+2/5*2^(1/2)*(5-5^(1/2))^(1/2)*sin(4*n*Pi/5) a(n)=(1/10)*{-(n mod 5)+[(n+1) mod 5]+[(n+2) mod 5]+9*[(n+3) mod 5]-5*[(n+4) mod 5]}, with n>=0 [From Paolo P. Lava, Dec 15 2008] MATHEMATICA PadRight[{}, 110, {1, 4, 0, 0, 0}] (* Harvey P. Dale, Jan 21 2012 *) CROSSREFS Sequence in context: A277115 A291447 A152894 * A210252 A028719 A028662 Adjacent sequences:  A152895 A152896 A152897 * A152899 A152900 A152901 KEYWORD easy,nonn AUTHOR Richard Choulet, Dec 14 2008 STATUS approved

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

Last modified January 26 05:37 EST 2020. Contains 331273 sequences. (Running on oeis4.)