User blog comment:Rpakr/A Formal Definition of Pair Sequence System using BM1 Rules/@comment-35470197-20180814221408/@comment-35470197-20180815215351

> It's not P(n,S,k)+n, it's GetPair(Len(P(n,S,k))-Len(S)+1,P(n,S,k))+n.

Oops, hontoda. Sorry.

> 7. That is correct. I will add the rule that says GetPair(a,0,S) is empty string.

Then you need to add the condtion \(m > 1\) to the case \(n+m \textrm{Len}(S)\) in order to aboid multiple definitions.