Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096975
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096975 Trace sequence of a path graph plus loop. +0
3
3, 1, 5, 4, 13, 16, 38, 57, 117, 193, 370, 639, 1186, 2094, 3827, 6829, 12389, 22220, 40169, 72220, 130338, 234609, 423065, 761945, 1373466, 2474291, 4459278, 8034394, 14478659, 26088169, 47011093, 84708772, 152642789, 275049240 (list; graph; listen)
OFFSET

0,1

COMMENT

Let A be the adjacency matrix of the graph P_3 with a loop added at the end. Then a(n)=trace(A^n). A is a 'reverse Jordan matrix' [0,0,1;0,1,1;1,1,0]. a(n)=abs(A094648).

REFERENCES

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

FORMULA

G.f. : (3-2x-2x^2)/(1-x-2x^2+x^3); a(n)=a(n-1)+2a(n-2)-a(n-3); a(n)=(2sqrt(7)sin(atan(sqrt(3)/9)/3)/3+1/3)^n+ (1/3- 2sqrt(7)sin(atan(sqrt(3)/9)/3+pi/3)/3)^n+ (2sqrt(7)cos(acot(-sqrt(3)/9)/3)/3+1/3)^n.

PROGRAM

(PARI) {a(n)=if(n>=0, n+=1; polsym(x^3-x^2-2*x+1, n-1)[n], n=1-n; polsym(1-x-2*x^2+x^3, n-1)[n])} /* Michael Somos Aug 03 2006 */

CROSSREFS

Cf. A006053, A052547, A096976.

A033304(n)=a(-1-n). - Michael Somos Aug 03 2006.

Adjacent sequences: A096972 A096973 A096974 this_sequence A096976 A096977 A096978

Sequence in context: A096374 A007085 A094648 this_sequence A135184 A131304 A131302

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research