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!)
A152856 Periodic sequence [4,0,4,3,4] of period 5 1
4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4, 4, 0, 4, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n+5) = a(n) with a(0) = a(2) = a(4) = 4, a(1) = 0 and a(3) = 3
a(n) = 3+(1/2-3/10*5^(1/2))*cos(2*n*Pi/5)+(-1/10*(4*(5+5^(1/2))^(1/2)-(5-5^(1/2))^(1/2))*2^(1/2))*sin(2*n*Pi/5)+(3/10*5^(1/2)+1/2)*cos(4*n*Pi/5)+(-1/10*((5+5^(1/2))^(1/2)+4*(5-5^(1/2))^(1/2))*2^(1/2))*sin(4*n*Pi/5)
o.g.f f(z) = (4+4*z^2+3*z^3+4*z^4)/(1-z^5)
MATHEMATICA
PadRight[{}, 100, {4, 0, 4, 3, 4}] (* Harvey P. Dale, Jun 08 2014 *)
CROSSREFS
Sequence in context: A367873 A016680 A062524 * A031362 A198414 A309721
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:15 EDT 2024. Contains 371920 sequences. (Running on oeis4.)