2022 SSMO Speed Round Problems/Problem 8

Problem

How many positive integers cannot be written as $7a + 19b + 28c$, where $a$, $b$, and $c$ are positive integers (not necessarily distinct)?

Solution