Solve Problem 78 in 6.735s but no basis in the range of n

$ time ./problem_78
55374

real    0m6.735s
user    0m6.612s
sys     0m0.089s