accumulate(max_number){ let sum = 0 while(max_number>0){ sum += max_number max_number-- } }