Problem:
Alf, the alien from the 1980s TV show, has a big appetite for the mineral apatite. However, he's currently on a diet, so for each integer , he can eat exactly pieces of apatite on day . Additionally, if he eats apatite on day , he cannot eat on any of days . Compute the maximum total number of pieces of apatite Alf could eat over days .