login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152889 Periodic sequence [1,0,4,0,0] of period 5 1
1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0, 1, 0, 4, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,1).

FORMULA

a(n+5) = a(n) with a(0) = 1, a(2) = a(3) = a(4) = 0 and a(2) = 4 ;

o.g;f (1+4z^2)/(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+2) mod 5]+9*[(n+2) mod 5]-7*[(n+3) mod 5]+3*[(n+4) mod 5]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jan 09 2009]

CROSSREFS

A026048

Sequence in context: A096623 A171914 A200627 * A151905 A078669 A046783

Adjacent sequences:  A152886 A152887 A152888 * A152890 A152891 A152892

KEYWORD

easy,nonn

AUTHOR

Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 14 2008

EXTENSIONS

More terms from Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Dec 29 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 18:52 EST 2012. Contains 205843 sequences.