works for ints up until 24001
works with long
works with unsigned int up until 1015360. then segfault.
911 validator runs.
it seems to work. at least for 100.000.000. Takes a minute or so. Need to make it faster for 1.000.000.000 ...