Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,1

FORMULA

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

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

CROSSREFS

A026051

Sequence in context: A162516 A085471 A064221 this_sequence A143354 A106141 A082999

Adjacent sequences: A152887 A152888 A152889 this_sequence A152891 A152892 A152893

KEYWORD

easy,nonn

AUTHOR

Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 14 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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research