User blog comment:Ikosarakt1/My Turing machine programs/@comment-1605058-20130330113230/@comment-5150073-20130330143751

It seems that I found the general pattern for constructing a TM that computes f_m(n). Each increment to the index requires additional 9 states. I'm going to create the TM for f_w(n).