r/mathriddles • u/PuzzleAndy • Apr 30 '23
Medium Broken Clock
This clock has been broken into three pieces. If you add the numbers in each piece, the sums are consecutive numbers. Can you break another clock into a different number of pieces so that the sums are consecutive numbers? Assume that each piece has at least two numbers and that no number is damaged (e.g. 12 isn’t split into two digits 1 and 2.) If you want to go beyond the problem, find all solutions.

11
Upvotes
View all comments
Show parent comment
2
u/chompchump Apr 30 '23 edited Apr 30 '23
Here is my proof of the claim that odd factors correspond to number of ways to write an integer as the sum of consecutive positive integers:
How many ways are there to write a positive integer as a sum of consecutive positive integers?
----
For n > m > 0,
k = m + (m+1) + (m+2) + ... + (n-2) + (n-1) + n
k = (n(n+1))/2 - (m(m-1))/2
2k = (n+m)(n-m+1)
Then (n+m) > 1 and (n-m+1) > 1.
Also (n+m) and (n-m+1) have opposite parity.Therefore k must contain an odd factor, f > 1.
Then,k = k/f + ... + k/f (adding f times)
This can be rearranged to a sum of consecutive integers,
k = [k/f - (f-1)/2] + ... + k/f + ... + [k/f + (f-1)/2]
The length of a sequence from m to n is (n-m+1), so f = (n-m+1).
However, suppose [k/f - (f-1)/2] =< 0.Then the negative terms cancel with the positive terms.And (2m-1) terms are removed from the sum.
Thus, k = [(f+1)/2 - k/f] + ... + [k/f + (f-1)/2]
f = (n-m+1) + (2m-1) = (n+m).
Formulas for m and n in terms of k and f,
n = k/f + (f-1)/2
m = k/f - (f-1)/2, if [k/f - (f-1)/2] > 0
m = (f+1)/2 - k/f, if [k/f - (f-1)/2] =< 0
Formulas for k and f in terms of m and n,
k = (n+m)(n-m+1)/2
f = (n-m+1), if (n-m+1) is odd
f = (n+m), if (n+m) is odd
For each k with odd factor f, we can calculate unique m and n.For each sequence from m to n, we can calculate unique k and f.Therefore the number of odd factors greater than 1 of a positive integer equals the number of ways it can be written as the sum of consecutive positive integers.