Problem

Source: Moldova EGMO TST 2021

Tags: combinatorics



On a board there are $4$ positive integers $a, b, c$ and $d$. Dan chooses three of them and writes their product on a paper. Then he substracts $1$ from the other number. He does this until $0$ appears on the board. What are the possible values of the sum of the numbers written on the paper?