Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117444
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117444 Periodic {0,1,2,-2,-1}. +0
3
0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1 (list; graph; listen)
OFFSET

0,3

FORMULA

G.f.: x(1+3x+x^2)/(1+x+x^2+x^3+x^4)=x(1+2x^2-2x^3-x^4)/(1-x^5); a(n)=sum{k=0..5, L(k(k^2-n)/5)}/2, where L(j/p) is the Legendre symbol of j and p; a(n)=sqrt(2+2/sqrt(5))*sin(2*pi*n/5)-sqrt(2-2/sqrt(5))*sin(4*pi*n/5).

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

CROSSREFS

Sequence in context: A108423 A092339 A079693 this_sequence A015504 A055892 A104244

Adjacent sequences: A117441 A117442 A117443 this_sequence A117445 A117446 A117447

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Mar 16 2006

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research