Working on Problem 485: maximum number of divisors. Yet have to be smarter on the memoisation