reviewed
approved
proposed
editing
print( [int((([n*(n**2+3*n+8)/)//2) +4 for n in range(1, 60)] ))]) # _Gennady Eremin_, Feb 03 2022
# Gennady Eremin, Feb 03 2022
Gennady Eremin: shortened the code.
Corrected (changed one term from 1036 to 1038) by Harvey P. Dale, Mar 24 2011.
(MAGMAMagma) [(n^2+3*n+8)/2: n in [1..60]]; // Vincenzo Librandi, Sep 16 2013
# _# _Gennady Eremin_, Feb 03 2022
(Python)
print( [int((n**2+3*n+8)/2) for n in range(1, 60)] )