'not exactly a math problem'... How would you describe it?
Discussion
Just guessing and checking random numbers to hash with the block data, and then if the output is less than the current target you win. So it is much more like a lottery system than a math problem