Phone call

How many different phone numbers are there starting with a 3 and with at most two different digits?

Problem



A new taxi firm needs a memorable phone number.

They want a number which has a maximum of two different digits.

Their phone number must start with the digit $3$ and be six digits long.

How many such numbers are possible?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.