A sum of money of $2010 is to be distributed among many people. The 1st person takes 1/2 the sum of the money. The 2nd person takes 1/3 the remaining sum of money. The 3rd person takes 1/4 the remaining sum of money, and so on. After the last person takes his share, there was $6 left. How many people shared the sum of money?

1/2 (1) = 1/2

2/3 (1/2) = 1/3
3/4 (1 /3) = 1/4
4/5 * 1/4 = 1/5
2010/n = 6
n = 335