Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130785
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130785 Sequence identical to its d-th difference, where d=3: a(n+3)=3a(n+2)-3a(n+1)+2a(n). a(0)=1, a(1)=4, a(2)=9. +0
2
1, 4, 9, 17, 32, 63, 127, 256, 513, 1025, 2048, 4095, 8191, 16384, 32769, 65537, 131072, 262143, 524287, 1048576, 2097153 (list; graph; listen)
OFFSET

0,2

COMMENT

Comments from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 22 2007 (Start): Sequences which equal the sequence of their d-th differences obey linear recurrences with constant binomial coefficients of the form sum_{i=0..d} binomial(d,d-i)*(-1)^i*a(n-i)=a(n-d).

If d is even, this simplifies to sum_{i=0..d-1} binomial(d,d-i)*(-1)^i*a(n-i)=0.

This binding of d (d odd) or d-1 (d even) consecutive terms by the recurrences leaves d or d-1, respectively, free parameters to choose a(0),a(1),...a(d) or a(0),a(1),...a(d-1), respectively, which ultimately define the individual sequence.

The generating functions are

d=2: a(0)/(1-2*x).

d=3: 1/3*(-a(0)+a(1)-a(2))/(-1+2*x)+1/3*(-4*a(0)*x-x*a(2)+4*a(1)*x-a(2)+2*a(0)+a(1))/(x^2-x+1).

d=4: 1/2*(-2*a(0)+2*a(1)-a(2))/(-1+2*x)+1/2*(2*a(1)*x-4*a(0)*x-a(2)+2*a(1))/(1-2*x+2*x^2) .

In the present sequence we have d=3 and g.f. = (x-1)/(x^2-x+1)-2/(-1+2*x) . (End)

Also binomial transform of A130784. a(n)=2^(n+1) + A010892(n+4).

Recurrence in shorter form: a(n)=2a(n) + periodicly extended 2 1 -1 -2 -1 1.

See A130750, A130752, A130755 for other examples of d=3 sequences, A130781 for an example of d=4.

FORMULA

a(n)=-(1/2)*{1/2-(1/2)*I*sqrt(3)}^n-(1/2)*{1/2+(1/2)*I*sqrt(3)}^n+2*2^n+(1/6)*I*{1/2-(1/2) *I*sqrt(3)}^n*sqrt(3)-(1/6)*I*{1/2+(1/2)*I*sqrt(3)}^n*sqrt(3), with n>=0 and I=sqrt(-1) - Paolo P. Lava (ppl(AT)spl.at), Jun 09 2008

EXAMPLE

Triangle of sequence and 1st, 2nd, 3rd differences:

1..4..9..17..32..63..127..256..513

.3..5..8..15..31..64..129..257

...2..3..7..16..33..65..128

....1..4..9...17..32..63 ... equal to 1st row

CROSSREFS

Sequence in context: A008093 A027374 A009922 this_sequence A008236 A088365 A139468

Adjacent sequences: A130782 A130783 A130784 this_sequence A130786 A130787 A130788

KEYWORD

nonn

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Jul 15 2007

EXTENSIONS

Edited and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 22 2007

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research