Multiple choice general knowledge math & puzzles

have some pencils and some jars. If I put 4 pencils into each jar I will have one jar left over If I put 3 pencils into each jar I will have one pencil left over How many pencils and how many jars?

  1. 14 pencils and 2 Jars

  2. 16 pencils and 5 Jars

  3. 18 pencils and 7 Jars

  4. 17 pencils and 6 Jars

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Let j = number of jars, p = number of pencils. If 4 pencils per jar leaves 1 jar empty: p = 4(j-1). If 3 pencils per jar leaves 1 pencil: p = 3j + 1. Equating: 4j - 4 = 3j + 1, so j = 5. Then p = 3(5) + 1 = 16. Checking: 16 pencils with 4 per jar uses 4 jars (1 empty), and 16 pencils with 3 per jar uses 5 jars with 1 left over.