The first three terms of an arithmetic sequence are u1=3k−1, u2=4k+1, and u3=6k−2. What is the value of k?