Take the 2-minute tour ×
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It's 100% free, no registration required.

There is a formula in wikipedia for the general case of josepus problem

Josephus Problem

But there is no reference for it, I don't know where it came from and I need too find out... Maybe Donald Knuth's Art of Programming?

share|improve this question
2  
I believe it comes from "Concrete Mathematics" –  vonbrand Jan 23 '13 at 19:40
add comment

1 Answer

In "Concrete Mathematics" by Graham, Knuth, Patashnik. Look in Chapter 3: Integer functions.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.