Index ¦ Archives ¦ Atom > Tag: math

The repertoire method and the radix-based solution to the Josephus problem

This post summarizes how one uses the repertoire method (as presented in Concrete Mathematics by Graham, Knuth and Patashnik). First we look at the repertoire method without the need for a radix-based solution and afterwards we discuss the solution given in the book for Exercise 16.

General method

Suppose we …

© Florian Kalinke. Built using Pelican. Theme by Giulio Fidente on github.