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!)
A208881 Number of words either empty or beginning with the first letter of the ternary alphabet, where each letter of the alphabet occurs n times. 5
1, 2, 30, 560, 11550, 252252, 5717712, 133024320, 3155170590, 75957810500, 1850332263780, 45508998487680, 1128243920840400, 28159366024288800, 706857555303576000, 17831659928458210560, 451781821468671694110, 11489952898943726476500, 293206575828601020085500 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Also the number of (n*k-1)-step walks on k-dimensional cubic lattice from (1,0,...,0) to (n,n,...,n) with positive unit steps in all dimensions.
LINKS
J. Draisma, E. Horobet, G. Ottaviani, B. Sturmfels and R. K. Thomas, The Euclidean distance degree of an algebraic variety, arXiv preprint arXiv: 1309.0049, 2013.
FORMULA
a(n) = (3*n)!/(3 * n!^3) for n>0, a(0) = 1.
a(n) = 2 * A060542(n) for n>0.
a(n) = A253283(2*n,n) for n>=0. - Peter Luschny, Mar 22 2015
n^2*a(n) -3*(3*n-1)*(3*n-2)*a(n-1)=0. - R. J. Mathar, Nov 01 2015
EXAMPLE
a(0) = 1: the empty word.
a(1) = 2 = |{abc, acb}|.
a(2) = 30 = |{aabbcc, aabcbc, aabccb, aacbbc, aacbcb, aaccbb, ababcc, abacbc, abaccb, abbacc, abbcac, abbcca, abcabc, abcacb, abcbac, abcbca, abccab, abccba, acabbc, acabcb, acacbb, acbabc, acbacb, acbbac, acbbca, acbcab, acbcba, accabb, accbab, accbba}|.
MAPLE
a:= n-> `if`(n=0, 1, (3*n)!/(3*n!^3)):
seq(a(n), n=0..20);
CROSSREFS
Column k=3 of A208879.
Sequence in context: A143414 A099046 A020547 * A297490 A324957 A282733
KEYWORD
nonn,walk
AUTHOR
Alois P. Heinz, Mar 02 2012
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 April 24 19:59 EDT 2024. Contains 371963 sequences. (Running on oeis4.)