login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094826 Number of (s(0), s(1), ..., s(2n)) such that 0 < s(i) < 9 and |s(i) - s(i-1)| = 1 for i = 1,2,....,2n, s(0) = 1, s(2n) = 3. 3
1, 3, 9, 28, 90, 297, 1000, 3417, 11799, 41041, 143472, 503262, 1769365, 6230304, 21960801, 77461435, 273351705, 964918116, 3406804786, 12029917377, 42483179304, 150036624217, 529901048943, 1871559855009, 6610286313784 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

In general a(n)= (2/m)*Sum(r,1,m-1,Sin(r*j*Pi/m)Sin(r*k*Pi/m)(2Cos(r*Pi/m))^(2n)) counts (s(0), s(1), ..., s(2n)) such that 0 < s(i) < m and |s(i)-s(i-1)| = 1 for i = 1,2,....,2n, s(0) = j, s(2n) = k.

LINKS

Table of n, a(n) for n=1..25.

FORMULA

a(n)=(2/9)*Sum(r, 1, 8, Sin(r*Pi/9)Sin(3*r*Pi/9)(2Cos(r*Pi/9))^(2n)) a(n)=6a(n-1)-9a(n-2)+a(n-3) and also a(n)=7a(n-1)-15a(n-2)+10a(n-3)-a(n-4) G.f.: x(-1+3x)/(-1+6x-9x^2+x^3)

CROSSREFS

Sequence in context: A007822 A094164 A094803 * A033190 A071724 A000245

Adjacent sequences:  A094823 A094824 A094825 * A094827 A094828 A094829

KEYWORD

nonn

AUTHOR

Herbert Kociemba, Jun 13 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 16:14 EST 2018. Contains 299380 sequences. (Running on oeis4.)