I'm trying to generate strings recursively that look like this:
Expand[RecurrenceTable[{F[n] == Fa*F[n - 1]*Fs*F[n - 2] + Fa*F[n - 2]*Fs*F[n - 1], F[1] == 1, F[2] == Fa*F[1]*Fs*F[1]}, F, {n, 4}]]
I am using RecurrenceTable, but have gotten very far.
Can someone help me get started? Thanks for your help.
{n,4}
to{n,12}
and see what you get. I think it is more common when trying to generate strings that you expect all the symbols to be concatenated and not have the order changed. Perhaps if you can clearly explain what you really want to accomplish then someone might be able to explain another way of doing this. $\endgroup$NonCommutativeMultiply[]
?RecurrenceTable[{F[n] == Fa ** F[n - 1] ** Fs ** F[n - 2] + Fa ** F[n - 2] ** Fs ** F[n - 1], F[1] == \[ScriptCapitalI], F[2] == Fa ** \[ScriptCapitalI] ** Fs ** \[ScriptCapitalI]}, F, {n, 4}]
$\endgroup$