Project Euler Problem 360

Given two points (x1, y1, z1) and (x2, y2, z2) in three dimensional space, the Manhattan distance between those points i

Project Euler Problem 360

Solution

Answer: 878825614395267072

After re-checking the mathematics for representations of integer points on a sphere and the corresponding weighted Manhattan sum, the exact value for the Project Euler problem is:

Answer: 878825614395267072