MathDB
3n+1 flowers each next day, unless it is more than 40 ...

Source: Mathematics Regional Olympiad of Mexico West 2016 P1

September 7, 2022
algebra

Problem Statement

Indra has a bag for bringing flowers for her grandmother. The first day she brings nn flowers. From the second day Indra tries to bring three times plus one with respect to the number of flowers of the previous day. However, if this number is greater or equal to 4040, Indra substracts multiples of 4040 until the remainder is less than this number, since her bag cannot containt so many flowers. For which value of nn Indra will bring 3030 flowers the day 20162016?