Find the missing digits in this problem about an invoice

  • Thread starter Thread starter Math100
  • Start date Start date
AI Thread Summary
The problem involves finding the missing digits in the number x679y, where 72 divides this number. To satisfy the divisibility by 9, the equation (x + y + 4) must equal 0 modulo 9, leading to the conclusion that x + y = 5. For divisibility by 8, the last three digits 79y must be divisible by 8, which determines y as 2. Subsequently, substituting y into the previous equation reveals x as 3. Thus, the missing digits are x=3 and y=2.
Math100
Messages
813
Reaction score
229
Homework Statement
An old and some what illegible invoice shows that ## 72 ## canned hams were purchased for ## $x67.9y ##. Find the missing digits.
Relevant Equations
None.
Consider the missing digits in ## x679y ##.
Then ## 72\mid x679y ##.
Note that ## 72=8\cdot 9 ##.
This means ## 8\mid x679y ## and ## 9\mid x679y ##.
Now we have
\begin{align*}
&x679y\equiv 0\pmod {9}\\
&\implies (x+6+7+9+y)\equiv 0\pmod {9}\\
&\implies (x+y+22)\equiv 0\pmod {9}\\
&\implies (x+y+4)\equiv 0\pmod {9}.\\
\end{align*}
Thus ## x679y=x\cdot 10^{4}+6\cdot 10^{3}+7\cdot 10^{2}+9\cdot 10+y ##.
Observe that ## x679y\equiv 0\pmod {8}\implies x679y\equiv (4+2+y)\pmod {8}\implies (6+y)\equiv 0\pmod {8} ##
because ## 10^{3}\equiv 0\pmod {8} ## and ## 10^{4}\equiv 0\pmod {8} ##.
Since ## (6+y)\equiv 0\pmod {8}\implies y=2 ##, it follows that ## (x+6)\equiv 0\pmod {9}\implies x=3 ##.
Therefore, the missing digits are ## x=3 ## and ## y=2 ##.
 
  • Like
Likes Delta2 and fresh_42
Physics news on Phys.org
Math100 said:
Homework Statement:: An old and some what illegible invoice shows that ## 72 ## canned hams were purchased for ## $x67.9y ##. Find the missing digits.
Relevant Equations:: None.

Consider the missing digits in ## x679y ##.
Then ## 72\mid x679y ##.
Note that ## 72=8\cdot 9 ##.
This means ## 8\mid x679y ## and ## 9\mid x679y ##.
Now we have
\begin{align*}
&x679y\equiv 0\pmod {9}\\
&\implies (x+6+7+9+y)\equiv 0\pmod {9}\\
&\implies (x+y+22)\equiv 0\pmod {9}\\
&\implies (x+y+4)\equiv 0\pmod {9}.\\
\end{align*}
Thus ## x679y=x\cdot 10^{4}+6\cdot 10^{3}+7\cdot 10^{2}+9\cdot 10+y ##.
Observe that ## x679y\equiv 0\pmod {8}\implies x679y\equiv (4+2+y)\pmod {8}\implies (6+y)\equiv 0\pmod {8} ##
because ## 10^{3}\equiv 0\pmod {8} ## and ## 10^{4}\equiv 0\pmod {8} ##.
Since ## (6+y)\equiv 0\pmod {8}\implies y=2 ##, it follows that ## (x+6)\equiv 0\pmod {9}\implies x=3 ##.
Therefore, the missing digits are ## x=3 ## and ## y=2 ##.
Correct.

I would determine ##y## first. We must have that ##8## divides ##79y##, the right most 3 digits, That will give you that ##y=2## .

After that, it's almost trivial to find that ##x=3## .
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top