1.Please list all the squares, below 6000, that are the sum of three distinct factorials.
2.Same task, without the "distinct" condition.
(In reply to
computer solution by tomarken)
The only ambiguity is whether 0! and 1! count as "distinct" factorials. Their forms are distinct, but their values are not.
In the program I wrote, I ignored 0! as it was covered by 1!; i.e., I started my loop at 1.
Edited on March 16, 2014, 9:13 am
|
Posted by Charlie
on 2014-03-16 09:12:03 |