Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100321
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100321 The trinomial transform (A027907) gives powers of 2, while the trinomial transform of this sequence shift one place left gives powers of 3. +0
2
1, 1, 0, 2, -3, 8, -16, 35, -72, 150, -307, 628, -1276, 2587, -5228, 10546, -21235, 42704, -85784, 172179, -345344, 692286, -1387155, 2778492, -5563748, 11138443, -22294596, 44617850, -89282067, 178639160, -357399712, 714995843, -1430309496, 2861133222, -5723098483, 11447543236 (list; graph; listen)
OFFSET

0,4

FORMULA

G.f.: (1 + 3*x - 3*x^3)/(1 + 2*x - 2*x^2 - 3*x^3 + 2*x^4). 2^n = Sum_{k=0..2*n} A027907(n, k)*a(k); 3^n = Sum_{k=0..2*n} A027907(n, k)*a(k+1).

a(n) = (1/3) [(-1)^n * (3*Fib(n-1) - 2^n) + 1 ]. - Ralf Stephan, May 15 2007

EXAMPLE

2^3 = 1*(1) + 3*(1) + 6*(0) + 7*(2) + 6*(-3) + 3*(8) + 1*(-16).

3^3 = 1*(1) + 3*(0) + 6*(2) + 7*(-3) + 6*(8) + 3*(-16) + 1*(35).

PROGRAM

(PARI) a(n)=polcoeff((1+3*x-3*x^3)/(1+2*x-2*x^2-3*x^3+2*x^4+x*O(x^n)), n)

CROSSREFS

Cf. A027907.

Sequence in context: A005162 A129108 A153699 this_sequence A121133 A011952 A032104

Adjacent sequences: A100318 A100319 A100320 this_sequence A100322 A100323 A100324

KEYWORD

sign

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Nov 15 2004

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research