Transfer matrix in counting problems - Silva, Roberto da; Dahmen, Silvio Renato; Felício, José Roberto Drugowich de (International Journal of Modern Physics C, 2021)