Repertoire method to solve summation, where in you express the sum as a function of some constant times some function of n, like A(n) etc... I am trying to follow 'Concrete Mathematics', by Graham and Knuth, but having some difficulties in understanding these techniques which they applied to solve Josephus problem, could anybody explain please, giving an example....