document.write( "Question 486215: Can you please help me? Can you give me answers to those problems and explain how to solve them? Thanks a lot!!!!
\n" ); document.write( "1. The inverse of a modulo 39 is b. What is the inverse of 4a modulo 39 in terms of b?
\n" ); document.write( "2. Let x and y be integers satisfying 41x + 53y = 12. Find the residue of x modulo 53.
\n" ); document.write( "3. John and Ling start their new jobs on the same day. John's schedule is 4 workdays followed by 1 day off . Ling's schedule is 7 workdays followed by 2 days off . On how many days during their first year of work (365 days) do John and Ling have the same day off ?
\n" ); document.write( "Thank you very much!!!
\n" ); document.write( "

Algebra.Com's Answer #332405 by chessace(471)\"\" \"About 
You can put this solution on YOUR website!
1. b = inverse of (variable) a mod 39 means a + b = 0 mod 39.
\n" ); document.write( "As usual let x = answer = inverse 4a mod 39.
\n" ); document.write( "So x + 4a = 0 mod 39.
\n" ); document.write( "Substract 4a+4b, which is legal because 4(a+b) = 4*0 = 0 all mod 39
\n" ); document.write( "Result: x - 4b = 0 mod 39. or
\n" ); document.write( "x = 4b mod 39.
\n" ); document.write( "-----
\n" ); document.write( "2. 41x + 53y = 12, find x mod 53.
\n" ); document.write( "53 mod 53 is 0, so the y term goes away.
\n" ); document.write( "41 + 12 = 53 = 0 mod 53, so 41x = -12x mod 53
\n" ); document.write( "-12x = 12 mod 53
\n" ); document.write( "x = -1 mod 53
\n" ); document.write( "Normalize to residue: x = 52 mod 53
\n" ); document.write( "-----
\n" ); document.write( "3. The mods to use are the total cycle = work + off.
\n" ); document.write( "J's days off are all those = 0 mod 5 from start 1.
\n" ); document.write( "L's days off are all those = 0 or 8 mod 9 from start 1.
\n" ); document.write( "So every 5*9 = 45 day interval looks the same to them.
\n" ); document.write( "Within that interval, J is off 9 times which are days
\n" ); document.write( " (mod 9) 5 1 6 2 7 3 8 4 0.
\n" ); document.write( "You could leave out this step knowing all digits will appear once, but there is a fraction in the works, so order matters.
\n" ); document.write( "Two days match every cycle, 365/45 = 8.11 cycles (no match in .11)
\n" ); document.write( "So 16 days off in common that 1st year.
\n" ); document.write( "
\n" ); document.write( "
\n" );