Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096976
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096976 Number of walks of length n on P_3 plus a loop at the end. +0
6
1, 0, 1, 0, 2, 1, 5, 5, 14, 19, 42, 66, 131, 221, 417, 728, 1341, 2380, 4334, 7753, 14041, 25213, 45542, 81927, 147798, 266110, 479779, 864201, 1557649, 2806272, 5057369, 9112264, 16420730, 29587889, 53317085, 96072133, 173118414, 311945595 (list; graph; listen)
OFFSET

0,5

COMMENT

Counts closed walks of length n at the start of P_3 to which a loop has been added at the other extremity. a(n+1) counts walks between the first node and the last. Let A be the adjacency matrix of the graph P_3 with a loop added at the end. A is a 'reverse Jordan matrix' [0,0,1;0,1,1;1,1,0]. a(n) is obtained by taking the (1,1) element of A^n.

REFERENCES

R. Chapman, Eigenvalues of a bidiagonal matrix, Amer. Math. Monthly, 111 (2004) 441

FORMULA

G.f. : (1-x-x^2)/(1-x-2x^2+x^3); a(n)=a(n-1)+2a(n-2)-a(n-3).

a(n)=5a(n-2)-6a(n-4)+a(n-6) - Floor van Lamoen (fvlamoen(AT)hotmail.com), Nov 02 2005

CROSSREFS

Cf. A006053, A052547.

Sequence in context: A032006 A074392 A052547 this_sequence A119245 A128731 A129157

Adjacent sequences: A096973 A096974 A096975 this_sequence A096977 A096978 A096979

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Jul 16 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research