Nuts Over Counting

A fellow said that when he counted his nuts by twos, threes, fours, fives and sixes, there was still one left over; but when he counted them by sevens they came out even.  What is the smallest number of nuts he could have?

The Scholar's Arithmetic, Daniel Adams, 1817

Click here to reveal the answer