Consider the set {1,2,…,n}=[n] and an equation eq. The rainbow number of [n] for eq, denoted rb([n],eq), is the smallest number of colors such that for every exact rb([n],eq)-coloring of [n], there exists a solution to eq with every member of the solution set assigned a distinct color. This paper focuses on linear equations and, in particular, establishes the rainbow number for the equations ∑i=1k−1xi=xk for k=3 and k=4. The paper also establishes a general lower bound for k≥5.