document.write( "Question 208428: Credit cards companies use an algorithm for distinguising between valid credit card numbers and collections of random digits. The algorithm is as follows:
\n" ); document.write( "1. begin by doubling all even-positioned digits when counting from right to left.
\n" ); document.write( "2. Determine the sum of the digits from the digits from step one and each of the unaffected (odd-positioned digits) digits in the original number.
\n" ); document.write( "3. Determine the number to be added to the sum from step two so that this new sum is a multiple of 10. This number is the check digit.
\n" ); document.write( "Using the algorithm, what should be the final digit of this credit card number?
\n" ); document.write( "601143871005123_\r
\n" ); document.write( "\n" ); document.write( "In the above process there are two sums you are finding: one involving the odd-positioned digits and the other involving the even-positioned digits that were doubled. first consider the sum of the odd-positioned digits. what is the most the sum could be affected by if an incorrect digit was entered? explain why this occurs.\r
\n" ); document.write( "\n" ); document.write( "next consider the even-positioned digits that were doubled. it is possible here to have numbers that result in double digits. recall how this sum is determine. how is it possible that a single digit error would be detected? (hint: i think i can make a table that shows possible values for the check digit, the double of the check digit and the resulting sums...i just don't know how)
\n" ); document.write( "

Algebra.Com's Answer #157682 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
We can't tell what the even-positioned digits are when counting from
\n" ); document.write( "right to left, because we don't know whether to count the missing digit
\n" ); document.write( "on the right as digit #1 or the last one listed as #1. Please repost
\n" ); document.write( "making this clear.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );