2022 National · Higher Secondary 6/9 বাং

Question 6

Number theory · Logic BDMO 2022 National

Sowdha's mother has given Sowdha a box of chocolates as a gift. There are nn chocolates in the box where n≤500n \leq 500. Sowdha eats chocolates everyday following the method below:

  1. If the number of chocolates remaining in the box is odd and greater that or equal to 7, then he eats 7 chocolates.
  2. If the number of chocolates remaining in the box is even and divisible by 4, then he eats 34\frac{3}{4}-th of the remaining chocolates.
  3. If the number of chocolates remaining in the box is even and not divisible by 4, then he eats half of the remaining chocolates.

Sowdha wants to eat all the chocolates in this way. For which values of nn will he be able to finish all the chocolates?

Worked it out?

This paper's answer key isn't in yet, so mark it yourself.

Log in to save your progress.
Log in to report a mistake