Since the cost of a ticket is halved every 10 years, we need to determine how many times the cost will be halved by the time Matty is 30.
Matty is currently 30 - 0 = 30 years old.
Since the cost is halved every 10 years, the cost will be halved 30 / 10 = 3 times by the time Matty is 30.
So, the cost of a ticket will be $1,000,000 / 2^3 = $1,000,000 / 8 = $125,000 when Matty is 30.
#### 125000
The answer is: 125000
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
When Matty was born, the cost of a ticket to Mars was $1,000,000. The cost is halved every 10 years. How much will a ticket cost when Matty is 30?

### Answer:
