I was just checking the Prime Obsession book. If I am correct the first section of this post is a re-telling of Chapter 1 Card trick. Maybe you should already explain this in the beginning. If you give a reference you should refer to it in the text otherwise it is not a reference but a source for further reading.
RE: Card Trick and Mathematics: Theoretical Mission to the Moon