14822755domain: NAppears in sequencesConsider the line segment in R^n from the origin to the point v = (1,4,9,...,n^2); let d = squared distance to this line from the closest point of Z^n (excluding the endpoints). Sequence gives d times v.v.at n=36A060454(1/30)*(p(p+1)(2p+1)(3p^2+3p-1)) where p is prime.at n=11A098997