Coding challenge

Write some code that uses the algebra() function to expand $\left(1 + x + x^2 + \cdots + x^{27}\right)\left(1 + x + x^2 + \cdots + x^{14}\right)^2$. What is the coefficient of $x^{28}$? (Ans: 224.) (Ref: ACM 12A 2008.)

Type your code here:


Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: