Intelligent fruit vendor

One day I went to the market to buy apples. A vendor had a basket full of apples.

When asked for the number of apples in the basket, the vendor replied that

if arranged in 2s the remainder = 1

if arranged in 3s the remainder = 2

if arranged in 4s the remainder = 3

if arranged in 5s the remainder = 4

if arranged in 6s the remainder = 5

if arranged in 7s the remainder = 0

How many apples were there in the basket?  

First <45678910>Last

Comments are Appreciated

Comments will be published only after the approval of the moderators