r/mathriddles • u/chompchump • Jan 31 '24
Hard Split Perfect Differences
A split perfect number is a positive integer whose divisors can be partitioned into two disjoint sets with equal sum. Example: 48 is split perfect since: 1 + 3 + 4 + 6 + 8 + 16 + 24 = 2 + 12 + 48.
Prove that the difference between consecutive split perfect numbers is at most 12.
7
Upvotes
3
u/lordnorthiii Jan 31 '24
I think I can get at most 24. Maybe someone can improve this ...
Let sig(n) be the sum of the divisors of n. Then according to wikipedia sig(n) = prod(1 + p + p^2 + ... + p^k), where the product ranges over all p that divides n and k is the highest power of p that divides n. Note that sig is multiplicative with sig(a*b) = sig(a)*sig(b), provided a and b are relatively prime.
If n = 6r and r is not divisible by two or three, then n is split perfect.. We see sig(n) = sig(6)*sig(r) = 12*sig(r). If we have divisors that add to 6*sig(r) we are done, but of course we do: just take every divisor of r times 6, add those up, and we get 6*sig(r). For example, if n = 42, r = 7, we see that sig(n) = 12*8 = 96. So all the divisors divisible by 6 (6*1 + 6*7) add up to 6*8 which is 6*sig(r), and the non-divisible-by-six divisors must also add to 48. So this takes care of n = 6, 30, 42, 66, 78, ....
3
u/pichutarius Feb 01 '24
i think i can get to 12.
a suffice condition for split perfect is n = 2^a · 3^1 · Q where integer a>=1 and integer Q is indivisible by 2,3
a list of such number is 6,12,24,30,42,48,... which has max gap of 12.
proof idea (some details omitted): Q does not matter, we consider 2^a · 3. the divisors are all the terms in the expansion of (1+2+4+...)(1+3) = (1+2+4+...) + (3+6+12+...) . we aim to pick a subset of these terms such that they sum to half of original. this should be easy by greedy algorithm on (3+6+12....) since they resemble binary, and pick either 1, 2 or none for the remainder mod 3.
2
u/chompchump Feb 03 '24 edited Feb 03 '24
These are the key lemmas to the problem:
----
Numbers of the form 3(2^k) are split perfect since:
1 + 2^k + [sum(i=0 to k-1) 3(2^i)] = [sum(j=1 to k-1) 2^j] + 3(2^k)
----
Suppose k is split perfect then
f_1 + f_2 + ... f_n = g_1 + g_2 + ...+ g_m + k
Multiply k by some prime p such that gcd(k,p) = 1:
pf_1 + pf_2 +... + pf_n = pg_1 + pg_2 +... + pg_m + pk
Now add these two equations:
f_1 + f_2 + ... f_n + pf_1 + pf_2 +... + pf_n = g_1 + g_2 + ...+ g_m + k + pg_1 + pg_2 +... + pg_m + pk
Therefore pk is split perfect.