A cereal company adds baseball cards to the 3rd box, the 6th box, the 11th box the 18th box, and so on of each case of cereal. In a case of 40 boxes, how many boxes will have baseball cards?

Explain how you got your answer.