A dollar amount $\${-}67.9{-}$ is divisible by 72. What is this number?

592 Views Asked by At

A client buys 72 turkeys. On the receipt, 2 digits are missing, the first and the last. So, the total price is $\${-}67.9{-}$. Find a way to make the price of each turkey round at the second digit without trial-and-error method.

So, the answer is obviously $\$5.11$/turkey, so $\$367.92$ total. I found that with with 2-3 trial-and-error.

I bypassed his problem by using python and made a script that tries every combination and assures it is divisible by 0.01.

Please help me find a mathematical way of solving this problem.

2

There are 2 best solutions below

0
On BEST ANSWER

You need the divisibility rules for $8,9$ because a number is divisible by $72$ only if it is divisible by $8$ and $9$ as well.

According to that the rule, the sum of the digits must be divisible by $9$.

$$x+6+7+y = 22+x+y$$

In order to be divisible by 9, that sum must either be 27 or 36. The blanks must sum to $5$ or $14$.

It must also be divisible by $8$ so the last digit must be $2$. That means the first digit has to be $3$, because it would be impossible to make a sum of $14$.

Hence, the answer is x=3 and y=2

0
On

Without loss of generality, we can multiply the prices by 100, to work with integers and avoid the commas. Let $n$ be the number of turkeys bought and $p$ be the price of each of them. Then $$72p=10000a+679*10+b$$ where $a,b$ are between $0$ and $9$. The trick is to notice that $72=9*8$. We can now use two divisibility tricks. If a number is divisible by $8$, then the last 3 digits must be divisible by it (this follows by the fact that $1000$ is divisible by $8$). Hence $79*10+b$ must be divisible by $8$. The only value of $b$ which satisfies this condition is $2$. The second trick concerns divisibility by $9$: if a number is divisible by $9$, then the sum of the digits is divisible by $9$. Hence we must have $$a+6+7+9+2=24+a$$ to be divisible by 9. The only value of $a$ which satisfies this condition is $3$. To find the price, we calculate: $$p=36792/72=511$$ Dividing back by 100, we get $p=5.11$ as you said.