The answer to the sums of the diagonals of a 1001 by 1001 spiral matrix is 669,171,001. More interesting than the answer is the number of responses and the variety of solutions. Beside solutions from APL and J, I received solutions using C++, RoboBasic, and EXCEL. Several submitters used their observations to produce mathematical solutions. Some of the mathematical solutions resulted in different equations. I'll try to summarize all the submissions.
展开▼
机译:1001 x 1001螺旋矩阵的对角线总和的答案为669,171,001。比答案更有趣的是响应的数量和解决方案的多样性。除了APL和J的解决方案,我还收到了使用C ++,RoboBasic和EXCEL的解决方案。几个提交者使用他们的观察结果来产生数学解。一些数学解决方案导致了不同的方程式。我将尝试总结所有提交的内容。
展开▼