Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152855
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152855 Periodic sequence [1,2,0,2,0] of period 5 +0
1
1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0, 1, 2, 0, 2, 0 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n+5) = a(n) with a(0) = 1, a(1) = a(3) = 2 and a(2) = a(4) = 0 o.g.f f(z) = ((1+2*z+2*z^3)/(1-z^5)) a(n) = 1+(-1/5*((5-5^(1/2))^(1/2)-(5+5^(1/2))^(1/2))*2^(1/2))*sin(2*n*Pi/5)+(1/5*((5-5^(1/2))^(1/2)+(5+5^(1/2))^(1/2))*2^(1/2))*sin(4*n*Pi/5)

a(n)=(1/10)*{3*(n mod 5)+[(n+1) mod 5]+5*[(n+2) mod 5]-5*[(n+3) mod 5]+11*[(n+4) mod 5]}, with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Dec 15 2008]

CROSSREFS

A026039

Sequence in context: A026608 A026612 A046922 this_sequence A029401 A086150 A105166

Adjacent sequences: A152852 A152853 A152854 this_sequence A152856 A152857 A152858

KEYWORD

easy,nonn

AUTHOR

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

EXTENSIONS

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 4 15:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research