Finished following integer.
super_slow is the naieve solution, which is as it says, slow.  Actually it's not that slow for numbers of this size, so maybe it wouldn't have even been a bad plan.