Cubist
Senior Member
- Joined
- Oct 29, 2019
- Messages
- 1,687
Brilliant! Thank you. I love the mapping of this problem to your string notation.I finally worked it out again...
Brilliant! Thank you. I love the mapping of this problem to your string notation.I finally worked it out again...
"_xx" <------- I think there ought to be an underscore before xxAny one-pair subset of the n-element set will end either in "_" (in which case there are [imath]T_{n-1}[/imath] ways to make the rest, which must include one pair); or in "_x" ([imath]T_{n-2}[/imath] ways); or in "xx" ([imath]S_{n-3}[/imath] ways, which must not include a pair). So
LHS ought to be [imath]T_n[/imath] not [imath]S_n[/imath][math]S_n=T_{n-1}+T_{n-2}+S_{n-3}[/math]
Correct on both counts. I've been too busy to check everything carefully.I spotted a couple of typos, and if @Dr.Peterson agrees then perhaps a moderator can correct these in post#20 (and then delete this post)
"_xx" <------- I think there ought to be an underscore before xx
LHS ought to be [imath]T_n[/imath] not [imath]S_n[/imath]
[math]T_n=T_{n-1}+T_{n-2}+S_{n-3}[/math]
I'll have a goNow if you can work out a single recursion ... I haven't put any time into that.