Losing My Marbles?

In a square box that contains 1000 marbles, how many will it take to reach across the bottom of the box in a straight row?

The Columbian Calculator, Almon Ticknor, 1846

Click here to reveal the answer