y=x^3+1 sequential algorithm encoding | Sololearn: Learn to code for FREE!