The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094233 Number of closed walks of length n at a vertex of the cyclic graph on 9 nodes C_9. 2
1, 0, 2, 0, 6, 0, 20, 0, 70, 2, 252, 22, 924, 156, 3432, 910, 12870, 4760, 48622, 23256, 184796, 108528, 705894, 490314, 2708204, 2163150, 10430500, 9373652, 40313160, 40060078, 156305070, 169345560, 607812102, 709645552, 2369918628, 2952780320 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
In general, a(n,m) = 2^n/m*Sum_{k=0..m-1} cos(2*Pi*k/m)^n) counts closed walks of length n at a vertex of the cyclic graph on m nodes C_m.
LINKS
FORMULA
a(n) = 2^n/9*Sum_{k=0..8} cos(2*Pi*k/9)^n.
G.f.: -(x-1)*(x^3+3*x^2-1)/((2*x-1)*(x+1)*(x^3-3*x^2+1)). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 11 2009
9*a(n) = 2*(-1)^n +2^n +6*(-1)^n*A188048(n). - R. J. Mathar, Nov 03 2020
MATHEMATICA
f[n_] := FullSimplify[ TrigToExp[ 2^n/9 Sum[ Cos[2Pi*k/9]^n, {k, 0, 8}]]]; Table[ f[n], {n, 0, 40}] (* Robert G. Wilson v, Jun 01 2004 *)
CROSSREFS
Sequence in context: A081153 A369278 A126869 * A094659 A321907 A361522
KEYWORD
nonn,easy
AUTHOR
Herbert Kociemba, May 29 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jun 01 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 06:03 EDT 2024. Contains 373115 sequences. (Running on oeis4.)