A little math can to do anything, from magic to religion. Today we'll look at how a simple trick was used in everything from a regular stage illusionist routine to a game that seemed to uncannily channel divine intervention when reading the Bible. All it takes is the ability to count.

In 1998, Martin Gardner decided to get a little controversial in his regular column in Scientific American. He asked people to go pick up a certain version of the Bible and turn to a specific passage. He then gave them a seemingly random choice — if they followed a certain sequence of steps, they would always finish at the word "God."

He asked readers to start at a certain point and choose any word from the first to the tenth. They were then to count the letters in that word. If the word had three letters, they were to go forward three spots. If it had two, they would advance two. When they got to the new word, they would count the letters in it, and go forward that amount of words, They'd repeat and repeat the sequence until they got to the word that was too long, and too near the end, to allow them to go another step. No matter what initial word they chose, they would end that particular book at the word "God."

The game was meant lightheartedly, and the Bible was chosen merely because it was a book likely to be in many homes and nearly all hotel rooms. No one purported this to be mystical. But the trick is used in a semi-mystic setting. Stage magicians have used it as proof of their psychic powers.

It was originated by Martin Kruskal, a physicist and mathematician. The Kruskal Count, as it's widely known, is simple. A deck is shuffled and laid out in rows by the audience member. The audience member picks a card at random in the first row, sees the number on it, and skips that number of cards forward in the deck, then repeats the process. Face cards count as five, and aces count as one.