# 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

### I Have Three Digits

I am a three digit number, and the following things are true about me:

- The product of two of my digits is 8.
- The sum of my digits is 13.
- My first digit is four times my second digit.

What number am I?

### 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?

### Sum of Digits

Find the sum of all the integers between one and 100 which have 14 as the sum of their digits.

### Three Digit Number

I am thinking of a three-digit number. The sum of my digits is 17. Two of my digits add to 10, and two of my digits are the same. Find all possible values for my number.

### Three Digits with Difference

I’m a three digit number, and the sum of my digits is 13. My first two digits differ by 3, and my last two digits differ by 5. What numbers could I be?

### 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.

### Four Digit Number

I am a four digit number.

The sum of my digits is 20.

The product of my digits is 600.

The difference between my first two digits is 2, and the sum of my middle two digits is 11.

What number am I?

### Two Digit Pattern Matching

How many two-digit numbers are there such that the digits match at least one of the following patterns:

- The digits are both multiples of three.
- Neither of the digits are multiples of two.
- The digits add to 8.
- The digits are perfect squares.

### 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?

### 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?