OFFSET
2,1
FORMULA
For n >= 2 and k = 2..floor((n+2)/2), T(n,k) = 4 + (n+2)*(k-2).
EXAMPLE
n = number of top arches, k = number of exterior top arches:
n\k 2 3 4 5 6
2: 4
3: 4
4: 4 10
5: 4 11
6: 4 12 20
7: 4 13 22
8: 4 14 24 34
9: 4 15 26 37
10: 4 16 28 40 52
Length of each arch = 1 + number of arches covered:
Top arches of a given semi-meander: Arch splitting generated
n = 5, k = 2 semi-meanders (6 top arches):
1 1 = 2 exterior arches /\
/\ //\\
/\ //\\ ///\\\
//\\ ///\\\ /\ /\ ////\\\\
21 321 = 9 length of top arches 1 1 4321 = 12 length of top arches
/\
//\\ /\
///\\\ //\\ /\
321 21 1 = 10 length of top arches
T(5,2) = 4 + (5+2)(2-2) = 4 --------------------------- 4 = (12+10) - (2 * 9);
Top arches of given semi meander:
n = 5, k = 3 /\
1 1 1 = 3 exterior arches / \
/\ /\ / \
/\ //\\ //\\ //\ /\\
1 21 21 = 7 length top arches /\ ///\\//\\\
1 521 21 = 12 length of top arches
/\
/\ //\\
//\\ /\ ///\\\
21 1 321 = 10 length of top arches
/\
/ \
/ /\\
//\//\\\ /\ /\
41 21 1 1 = 10 length of top arches
T(5,3) = 4 + (5+2)(3-2) = 11 --------------------- 11 = (12+10+10) - (3 * 7).
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Roger Ford, Sep 01 2021
STATUS
approved