Follow the instructions. Input [your number] % 3 Input [your number] % 5 Input [your number] % 7
Credit to Nicomachus for his theorem, I just translated it into Scratch.