Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143621
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143621 a(n) = (-1)^binomial(n,4): Periodic sequence 1,1,1,1,-1,-1,-1,-1,... . +0
4
1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1 (list; graph; listen)
OFFSET

0,1

COMMENT

Periodic sequence with period 8. More generally, it appears that (-1)^binomial(n,2^r) gives a periodic sequence of period 2^(r+1), the period consisting of a block of 2^r plus ones followed by a block of 2^r minus ones. See A033999 (r = 0), A057077 (r = 1) and A143622 (r = 3).

FORMULA

a(n) = (-1)^binomial(n,4) = (-1)^floor(n/4), since sum {k = 1..n-3} k(k+1)(k+2)/3! = binomial(n,4) == floor(n/4) (mod 2) for n = 0,1,...,7 by calculation and both sides increase by an even number if we substitute n+8 for n. a(n) = 1/4*((n+4) mod 8 - n mod 8). O.g.f.: (1+x+x^2+x^3)/(1+x^4) = (1+x)*(1+x^2)/(1+x^4) = (1-x^4)/((1-x)*(1+x^4)). Define E(k) = sum {n = 0..inf} a(n)*n^k/n! for k = 0,1,2,... . Then E(k) is an integral linear combination of E(0), E(1), E(2) and E(3) (a Dobinski-type relation).

MAPLE

with(combinat):

a := n -> (-1)^binomial(n, 4):

seq(a(n), n = 0..103);

CROSSREFS

A033999, A057077, A130151, A143622.

Sequence in context: A097807 A014077 A165326 this_sequence A098417 A143622 A076479

Adjacent sequences: A143618 A143619 A143620 this_sequence A143622 A143623 A143624

KEYWORD

easy,sign

AUTHOR

Peter Bala (pbala(AT)toucansurf.com), Aug 30 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