It took a little under 3 hours for my program on a #RaspberryPi 5 with 4 cores at 2.4 GHz to calculate that there are 863 #tetrahedral sums of up to 4 terms for the number 2^32-1, and another 377968 sums of 5 terms.
1
0
0
1
It took a little under 3 hours for my program on a #RaspberryPi 5 with 4 cores at 2.4 GHz to calculate that there are 863 #tetrahedral sums of up to 4 terms for the number 2^32-1, and another 377968 sums of 5 terms.
Updated, now works on Mac and Linux (if you have a C compiler). Pretty happy with the source so I think I'll leave it alone for a while. github.com/ednl/c/blob/...
#programming #compsci #numberphile #JournalOfRecreationalMathematics #C_language #C_lang #Clang #C #tetrahedral #PollocksConjecture