i'm just beginning out in coding but i'd like to ask more questions abut your code.
are you sure your code can compile the numbers you've given it (bit integer limit)
you putting such big numbers might make it unable to go through and check these numbers