This is a math problem:
I would like to know what would be a good way (esp. performance-wise) to check all first, lets say, 1000000 natural numbers if they can be represented in the way above, using Mathematica?
This is a math problem:
I would like to know what would be a good way (esp. performance-wise) to check all first, lets say, 1000000 natural numbers if they can be represented in the way above, using Mathematica?