The Tell, by David Brin (epub/Kindle)
Not too far from now, the world is in a new arms race for predictive algorithms, a la Hari Seldon. The government who knows the future, controls the future. Can it be possible that a simple Vegas stage magician holds the key to this disruptive tech? If not, why is everyone after him!?!