Proof. The minimal λ is 32.
First, we show λ≥32. Consider n=3 with a=b=1. For k=1,2, we have:
{3k}+{3k}=32k≥32,
thus λ cannot be smaller than 32.
Now we prove λ≤32. Let n be a positive integer and a, b positive integers with n∤a+b. We need to find 1≤k≤n−1 satisfying the inequality.
Case 1: n=2. Without loss of generality, take a=1, b=1. For k=1:
{21}+{21}=21<32.
Case 2: n≥3.
Subcase 2.1: gcd(a,n)=d>1. Let k=dnk′ where 1≤k′≤d−1. Then:
{nak}+{nbk}={dbk′}.
Since {dbk′}+{db(d−k′)}∈{0,1}, taking k′=1 or d−1 gives:
{dbk′}≤21<32.
Subcase 2.2: gcd(a,n)=1. Let t be such that ta≡1(modn). Replacing a with ta(modn) and b with tb(modn), we may assume a=1 and 1≤b≤n−2.
Let e=1−n1−nb≥n1.
When e≥31: Take k=1:
{n1}+{nb}=1−e≤32.
When e<31: Let k be the smallest positive integer with ke≥31. Then:
k=⌊3e1⌋≤⌊3n⌋<3n+1≤n−1.
Let e=nl where l is integer and 3l<n (since e<31). We have:
ke+nk≤3ln(n+3l−1)(l+1)≤3l+12(l+1)≤1.
This implies:
{nk}+{nkb}=1−ke≤32.