$> max > i 0 > first 0 > second 1 p first p second > sum 0 = sum + first = sum + second = first + second = second + sum = i + 1 ? i ! max 5