4. Gavrila placed 7 smaller boxes into a large box. After that, Glafira placed 7 small boxes into some of these seven boxes, and left others empty. Then Gavrila placed 7 boxes into some of the empty boxes, and left others empty. Glafira repeated this operation and so on. At some point, there were 34 non-empty boxes. How many empty boxes were there at this moment?
Answer: 205.

Instructions. Filling one box increases the number of empty boxes by 7-1=6, and the number of non-empty boxes by 1. Therefore, after filling $n$ boxes (regardless of the stage), the number of boxes will be: empty $-1+6 n$; non-empty $-n$. Thus, $n=34$, and the number of non-empty boxes will be $1+6 \cdot 34=205$.