Answer:
841
Step-by-step explanation:
If the number is divided by 4 and the remainder is 1, the last digit must be 1, 3, 5, 7 or 9.
If the number is divided by 5 and the remainder is 1, the last digit must be 6 or 1.
So we already know the last digit must be 1.
The numbers between 800 and 900, with last digit 1, that divided by 6 have a remainder of 1 are:
811, 841, 871
The numbers between 800 and 900, with last digit 1, that divided by 7 have a remainder of 1 is just 841
So Tommy's number is 841.