text: sum of products taken i + 1 at a time
code: sum = 0 NEW_LINE for j in range ( 1 , n - i + 1 ) : NEW_LINE INDENT sum += ( j * a [ j ] ) NEW_LINE DEDENT print ( " f ( " , i + 1 , " ) ▁ - - > ▁ " , sum ) NEW_LINE