Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A094659
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A094659 Number of closed walks of length n at a vertex of the cyclic graph on 7 nodes C_7. +0
1
1, 0, 2, 0, 6, 0, 20, 2, 70, 18, 252, 110, 924, 572, 3434, 2730, 12902, 12376, 48926, 54264, 187036, 232562, 720062, 980674, 2789164, 4086550, 10861060, 16878420, 42484682, 69242082, 166823430, 282580872, 657178982, 1148548016, 2595874468 (list; graph; listen)
OFFSET

0,3

COMMENT

In general a(n,m)=2^n/m*Sum_{k=0..m-1} Cos(2Pi*k/m)^n) counts closed walks of length n at a vertex of the cyclic graph on m nodes C_m.

FORMULA

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

MATHEMATICA

f[n_] := FullSimplify[ TrigToExp[ 2^n/7 Sum[Cos[2Pi*k/7]^n, {k, 0, 6}]]]; Table[ f[n], {n, 0, 36}] (from Robert G. Wilson v Jun 09 2004)

CROSSREFS

Sequence in context: A081153 A126869 A094233 this_sequence A137437 A021489 A092158

Adjacent sequences: A094656 A094657 A094658 this_sequence A094660 A094661 A094662

KEYWORD

nonn

AUTHOR

Herbert Kociemba (kociemba(AT)t-online.de), Jun 06 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 09 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 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research