OFFSET
1,5
COMMENTS
LINKS
Sean A. Irvine, Java program (github)
FORMULA
A035615(n) = 2 * Sum_{r=1..n-1, c=1..min(r,n-r)} T(r,c) * P(n-r,c) where P(n-r,c) = C(n-r-1,c-1) = (n-r-1)!/((n-r-c-2)!*(c-1)!).
EXAMPLE
Rows:
1;
0,1;
1,2,1;
0,2,4,1;
1,5,8,5,1;
0,3,14,15,6,1; ...
a(17) = T(6,2) = 3 winning templates with length 6 and total 8 = 6+2: 211211, 121121, 112112.
A035615(6) = 2*( 1*1+0*1+1*3+1*1+2*2+1*1+1*1+0*1+2*1+1*1 ) = 2*13 = 26.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Frank Ellermann, Dec 31 2001
EXTENSIONS
More terms from Sean A. Irvine, Nov 03 2023
STATUS
approved