Project Euler Problem 6 and 7 in F#