jrinnfelke3113 jrinnfelke3113
  • 16-08-2017
  • Mathematics
contestada

When $n$ is divided by 10, the remainder is $a$. when $n$ is divided by 13, the remainder is $b$. what is $n$ modulo 130, in terms of $a$ and $b$?

Respuesta :

BlueSky06
BlueSky06 BlueSky06
  • 25-08-2017

If

N = a (mod 10)

N = b (mod 13)

gcd(10,13) = 1

then

N = 10 bx + 13 ay (mod 130)

Where

10x + 13y = 1

-> (10x + 13) (mod 2) = 1 (mod 2)

-> y (mod 2) = 1

y = -3, x = 4

-> N = 40b – 39a (mod 130)

 

It is given that  ra + sb should be non-negative:

 

N = 40b – 39a (mod 130)

N = 40b + (130 – 39)a (mod 130)

N = 40b + 91a (mod 130)

 

Therefore, N modulo 130, in terms of a and b is: N = 40b + 91a (mod 130).

Answer Link

Otras preguntas

The_____glands are the ovaries and testes.
I need help with this plz
(x^2+1/x^2)=38,find the value of x+1/x
Conservation methods are needed worldwide for many reasons. All but one is a reason to support conservation. A) global population growth B) global capacity to
Which empire united most of india, built roads and established free hospitals and veterinary clinics?
I’m still lost on this please need help
Help me with B please!
What should be current before a Windows Defender scan is run? A. Automatic Maintenance B. File History C. Hard disk partitions D. Drivers for antivirus softwa
Read the passage below and answer the question that follows. My friend, Myla, is meeting with the school board today to persuade them to expand our student coun
if hydrogen is non metal then why it is kept in the group IA in modern periodic table ?​