Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,1

COMMENT

Diagonal sums of number triangle A115359.

FORMULA

G.f.: 1/(1+x-x^3-x^4); a(n)=-a(n-1)+a(n-3)+a(n-4); a(n)=cos(2*pi*n/3)/3-sin(2*pi*n/3)/sqrt(3)+cos(pi*n)/2+1/6; a(n)=sum{k=0..floor(n/2), if(n-k=k, 1, 0) OR if(n-k=2k+1, -1, 0)}.

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

CROSSREFS

Sequence in context: A068431 A143466 A117908 this_sequence A088911 A105349 A096606

Adjacent sequences: A115357 A115358 A115359 this_sequence A115361 A115362 A115363

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Jan 21 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 December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research