How do I convert from this mod number to a regular number?

In summary, SigmaS was trying to solve $(\frac{1}{4900})^{100}$ and found that $4900 \equiv 84 \ (\text {mod 112})$. They then tried to convert the result to a regular number using modular arithmetic, but were unsure if the result was correct. They also asked for alternative methods to solve the original problem without using modular arithmetic. Another user suggested using logarithms to solve the problem.
  • #1
SigmaS
5
0
So I was working on solving $(\frac{1}{4900})^{100}$, and I figured the only way to do this neatly is through modular arithmetic.

I found that $4900 \equiv 84 \ (\text {mod 112})$, so I concluded $$\frac{1^{100}}{84^{10}\times84^{10} \ (\text{mod 112})}$$

Which should equal $$\frac{1}{3.06\times10^{38} \ (\text{mod 112})}$$

Now, this is still in mod form. How do I convert that value to a regular number, by mostly hand? When I tried converting it with the equation $n=qm+r$ where n is the number we wish to convert to, q is our quotient, m is the mod we're using, and r is the remainder; solving for n I got 84, but that doesn't sound right at all.
 
Last edited:
Mathematics news on Phys.org
  • #2
Hi SigmaS,

What are you 'solving' exactly?
Are you trying to calculate $(4900^{-1})^{100}\pmod{112}$?
Or something else? If something else, where is the $112$ coming from?
 
  • #3
Klaas van Aarsen said:
Hi SigmaS,

What are you 'solving' exactly?
Are you trying to calculate $(4900^{-1})^{100}\pmod{112}$?
Or something else? If something else, where is the $112$ coming from?

The 112 was just arbitrarily determined. I wanted to make $4900^{100}$ easy to calculate by hand. And I'm just trying to solve the probability of the problem, but expressed in much simpler terms.

if there's a better way to solve the original problem without modular arithmetic, then that would be great
 
  • #4
How about:
$$4900^{100}\approx (\frac 12\cdot 10^4)^{100}=\frac 1{(2^{10})^{10}}\cdot 10^{400}
=\frac 1{(1024)^{10}}\cdot 10^{400}\approx \frac 1{10^{30}}\cdot 10^{400}=1\cdot10^{370}$$
? (Wondering)
 
  • #5
Sixty years ago, this would have been an easy exercise in logarithms. $\log49 \approx 1.690196$, so $\log4900 \approx 3.690196$, and $\log(4900^{100}) \approx 369.0196$. Now take the antilog, to get $4900^{100}\approx 1.046\times 10^{369}.$
 

FAQ: How do I convert from this mod number to a regular number?

How do I convert a number in mod format to a regular number?

To convert a number from mod format to a regular number, you need to divide the mod number by the mod value and then multiply it by the original value. For example, if you have a mod number of 5 (mod 3), you would divide 5 by 3 and then multiply it by 3 to get the regular number of 15.

What is the purpose of using mod numbers?

Mod numbers are often used in computer programming and cryptography to represent large numbers in a more manageable format. It can also be used in modular arithmetic to solve complex mathematical problems.

Can I convert any number to mod format?

Yes, any number can be converted to mod format. However, the mod value must be specified in order to perform the conversion.

How do I know which mod value to use?

The mod value is typically chosen based on the context of the problem or equation. It is often chosen to be a prime number or a number that is relatively prime to the original value.

Can I convert a decimal number to mod format?

Yes, decimal numbers can also be converted to mod format. The process is the same as converting a regular number, but the resulting mod number may be a decimal as well.

Back
Top