$0*=($0+1)*(2*$0+1)/6