To play devil's advocate, a lie detector isn't really supposed to measure meaningless lies. It's about emotion and nervousness and the like. Math questions about a randomly assigned number would likely not generate much of a meaningful signal, and thus this test would not be expected to work.