# Coffee Math

Pro Problems > Math > Number and Quantity > Number Theory > Digits## Coffee Math

Johann was writing out a math problem when he spilled some coffee on his paper. The result was that some digits were covered up, as shown below.

♦7♦ + ♦♦9 ----- 50♦

If all but one of the hidden areas have the same digit, find all possible values for the sum of the hidden digits

## Solution

In order to make it feasible for teachers to use these problems in their classwork, no solutions are publicly visible, so students cannot simply look up the answers. If you would like to view the solutions to these problems, you must have a Virtual Classroom subscription.## Similar Problems

### Happy New Year

Happy New Year! I am a four-digit year, and my last two digits are a perfect square. The sum of my first and third digits is a perfect square. My second digit is a perfect square. All my digits add to a perfect square.

If you subtract my first, second, and third digit from my last digit, you get a perfect square.

If you subtract my third digit from my first digit, you get a perfect square.

Oh, by the way, I'm a perfect square.

What year am I?

### Back to Back

X is a three-digit number. Y is the number obtained when the digits of X are reversed. Z is the six-digit number obtained by writing X and Y back to back, with X written first. W is the six-digit number obtained by writing Y and X back to back, with Y written first. What is the largest number which the sum of Z and W must be divisible by?

### Rhonda's Zip Code

Rhonda’s zip code has five digits. Two of the digits are the same. One of the digits is three times another digit. Three of the digits are consecutive integers. The zip code starts with a zero. What is the largest possible sum for the digits of Rhonda’s zip code?

### Fiona's Telephone Number

When Shrek asks Fiona for her telephone number, Fiona is a bit coy about it, and tells Shrek the following information:

- My telephone number has 10 digits.
- There are no repeated digits in my telephone number.
- The first three digits are in ascending order.
- The second three digits are in descending order.
- Both the last four digits and the last two digits are multiples of sixty.
- My last four digits are not a multiple of 43.
- My first three digits are the square of an integer less than twenty.
- The sum of the second three digits is 14.

What number should Shrek dial?

### Set of Five Digit Numbers

S is the set of five-digit numbers such that the digits are in ascending order, there are no repeated digits, the sum of the first two digits is equal to the third digit, and the sum of the third and fourth digits is equal to the two more than the fifth digit. How many elements are in the set S? (Note that the leading digit cannot be a zero).

### Palindrome Addition

Find the smallest positive integer which must be added to 30504 so that the resulting number is a palindrome.

Note: a palindrome is a number in which the digits would read the same forward and backward.

### Five Digit Number

The sum of the digits of a three digit number is eighteen. The first digit is three more than the last digit. There is a repeated digit in the number. What are all possible values of the number?

### All My Digits

All my digits are non-zero perfect squares. If you treat my first two digits as a two-digit number, and treat my last two digits as a two-digit number, the sum of these two numbers is also a perfect square. If I am a three digit number, what numbers could I be?

### My Three Digits

I'm thinking of a three-digit number. The sum of my number's first and last digits is a perfect square. The sum of my number's first and second digits is also a perfect square. If my third digit is subtracted from my second digit, the result is 5. If my number is not a multiple of three, and it has no repeated digits, what is my number?

### Fill in the blanks

In the addition problem below, some digits are missing. They have been replaced by x and y. Find the values of x and y.

3xy2 + 3y1 = 40x3