Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099163
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099163 Expansion of (1-2x^2)/((1-2x)(1+x-x^2));. +0
2
1, 1, 2, 3, 7, 12, 27, 49, 106, 199, 419, 804, 1663, 3237, 6618, 13003, 26383, 52156, 105299, 209001, 420586, 836991, 1680747, 3350548, 6718807, 13408957, 26864282, 53653539, 107428471, 214660524, 429638859, 858763489, 1718359018, 3435371767 (list; graph; listen)
OFFSET

0,3

COMMENT

Counts closed walks of length n at the vertex with loop of the graph with adjacency matrix A=[0,1,1,1;1,0,0,0;1,0,0,0;1,0,0,1]. Binomial transform is A099164.

FORMULA

a(n)=a(n-1)+3a(n-2)-2a(n-3); a(n)=((sqrt(5)-1)/2)^n(3/10+sqrt(5)/10)+((-sqrt(5)-1)/2)^n(3/10-sqrt(5)/10)+2^(n+1)/5; a(n)=sum{k=0..n, (-1)^(n-k)Fib(n-k+1)(2^(k-1)+0^k/2-sum{j=0..k, C(k, j)j(-1)^j})}.

4*a(n+1) - a(n+3) = A039834(n) - Creighton Dement (creighton.k.dement(AT)uni-oldenburg.de), Feb 25 2005

Contribution from Paul D. Hanna (pauldhanna(AT)juno.com), Jan 02 2009: (Start)

a(n) = Sum_{k=-[n/5]..[n/5]} C(n, [(n-5*k)/2]).

a(n) = 2*Sum_{k=-[n/10]..[n/10]} C(n, [n/2]-5*k) - fibonacci(n+1). (End)

PROGRAM

Floretion Algebra Multiplication Program, FAMP Code: 1jesforseq[ (.5'i + .5i' + .5'ii' + .5e)*(.5j' + .5'kk' + .5'ki' + .5e) ], 1vesforseq = A000079(n+2) (Dement)

Contribution from Paul D. Hanna (pauldhanna(AT)juno.com), Jan 02 2009: (Start)

(PARI) a(n)=sum(k=-n\5, n\5, binomial(n, (n-5*k)\2))

(PARI) a(n)=-fibonacci(n+1)+2*sum(k=-n\10, n\10, binomial(n, n\2-5*k)) (End)

CROSSREFS

Cf. A039834.

Sequence in context: A090596 A054272 A129016 this_sequence A000676 A032173 A130616

Adjacent sequences: A099160 A099161 A099162 this_sequence A099164 A099165 A099166

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Oct 01 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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research