> for the large number close to the 2^32 limit the result is still returned in around 10 seconds.
This could be improved by arranging the if/else statements in a binary tree.
This could be improved by arranging the if/else statements in a binary tree.