4=3*1+1
7=3*2+1
10=3*3+1
.
58=3*19+1
4+7+10+.+55+58
=3*(1+2+3+...+17+18+19)+19
=3*190+19
=570+19
=589