document.write( "Question 1197060:  There are 1859 balls inside an urn from 1 to 1859. A ball is selected randomly. What is the probability that the selected ball has a number that is relatively prime to 1859?
\n" );
document.write( " \n" );
document.write( "
| Algebra.Com's Answer #830173 by math_tutor2020(3817)      You can put this solution on YOUR website! \n" ); document.write( "Two numbers are relatively prime, aka coprime, if the only factor they have in common is 1. \n" ); document.write( "In other words, if the GCF is 1, then the numbers are coprime. \n" ); document.write( "Example: 15 and 34 are relatively prime\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Determine the prime factorization of 1859 \n" ); document.write( "1859 = 11*13*13 = 11*13^2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If an integer x is coprime with 1859, then it won't have any of 11 or 13 as part of its factorization. \n" ); document.write( "If x is not coprime with 1859, then it will have at least one or more of the factors mentioned.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "set A = multiples of 11, from 11 to 1859 \n" ); document.write( "set B = multiples of 13, from 13 to 1859 \n" ); document.write( "set C = multiples of 11*13, from 143 to 1859 \n" ); document.write( "11*13 = 143 is the LCM of 11 and 13\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "A = {11*1, 11*2, 11*3, ..., 11*169} \n" ); document.write( "B = {13*1, 13*2, 13*3, ..., 13*143} \n" ); document.write( "C = {11*13*1, 11*13*2, 11*13*3, ..., 11*13*13} = {143*1, 143*2, 143*3, ..., 143*13}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Claim1: C is a subset of A, and C is a subset of B \n" ); document.write( "Claim2: All values in sets A,B,C are not relatively prime to 1859 \n" ); document.write( "Claim3: All values in sets A,B,C consist of all non-relatively prime values from 11 to 1859 \n" ); document.write( "I'll let the student prove these claims.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 169 items in set A \n" ); document.write( "There are 143 items in set B \n" ); document.write( "That's 169+143 = 312 values \n" ); document.write( "But as the claim1 mentions, C is a subset of A and B. \n" ); document.write( "In other words, A and B have an overlap of values which reside in set C \n" ); document.write( "Each item in set C is of the form 11*13*m where m ranges from m = 1 to m = 13. \n" ); document.write( "Set C has 13 items inside it\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Subtract 13 from 312 to find the number of unique items in either set A or set B or both \n" ); document.write( "312 - 13 = 299 \n" ); document.write( "There are 299 values that aren't relatively prime to 1859, and these values go from 11 to 1859.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Think of it like this \n" ); document.write( "n(A or B) = n(A) + n(B) - n(A and B) \n" ); document.write( "n(A or B) = 169 + 143 - 13 \n" ); document.write( "n(A or B) = 299 \n" ); document.write( "There are 299 values in set A, set B, or both\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Since there are 299 values that aren't relatively prime with 1859, this means there must be 1859-299 = 1560 items that are relatively prime to 1859.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Side note: \n" ); document.write( "The totient function counts how many values are relatively prime to n, where we go from 1 to n \n" ); document.write( "Typing \"totient(1859)\", without quotes, into WolframAlpha gets us the result 1560 \n" ); document.write( "https://www.wolframalpha.com/input?i=totient%281859%29 \n" ); document.write( "Here's an article talking about the totient function in more detail \n" ); document.write( "https://mathworld.wolfram.com/TotientFunction.html \n" ); document.write( "The formula to calculating totient(1859) is to compute \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So we have 1560 relatively prime values we want out of 1859 values total in {1,2,3,...,1858,1859} \n" ); document.write( "The probability we're after is 1560/1859 = (13*120)/(13*143) = 120/143\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer = 120/143 \n" ); document.write( " \n" ); document.write( " |