The discrepancy of a sign pattern a1,…,aN∈{−1,+1} is the maximum value of ∣ad+a2d+⋯+akd∣ for homogeneous progressions d,…,kd in {1,…,N}. For any D≥1, let C(D) denote the largest N for which there exists a sign pattern a1,…,aN of discrepancy at most C. Establish upper and lower bounds on C(D) that are as strong as possible.