One way to determine whether a number is prime is to try all possible integers less than that number and see whether any are divisors, also called factors. That algorithm has exponential time complexity because the magnitude of a number is exponential in its length
In Sipser's book, this explanation is given for finding whether an integer is prime or not.
There are exponential number of integers to test but why can't the nondeterministic TM just estimate the number bit by bit, like it does in estimating a solution to the satisfiability problem?
It can just estimate each bit and if any of the branches returns true, then it accepts that branch as the number associated with that branch divides the input.
We know that there exists a nondeterministic TM that decides the class PRIME. If my argument is wrong, what would be the correct NTM that decides the language?