Question

In: Statistics and Probability

Suppose that a check digit is assigned to a four-digit number by appending the remainder after...

Suppose that a check digit is assigned to a four-digit number by appending the remainder after division by 7. If the number 36806 has a single-digit error in the first position, determine the possibilities for the correct number.

Solutions

Expert Solution

solution:

Given that

Check digit is assigned to a four digit number by appending the remainder after division by 7

Given number =

3 6 8 0 6

Which indicates when the first four digits is divided by 7 we get 6 remainder.

But given that there is single digit error in the first position.

So, we have No.of possible digits at first position { 1,2,4,5,6,7,8,9} = 8

Here, Observe that

i) 1680 % 7 = 0

Possible number:   

1 6 8 0 0

ii) 2680 % 7 = 6

Possible number:

2 6 8 0 6

iii) 4680 % 7 = 4

Possible number:

4 6 8 0 4

iv) 5680 % 7 = 3

Possible number:

5 6 8 0 3

v) 6680 % 7 = 2

Possible number:

6 6 8 0 2

vi) 7680 % 7 = 1

Possible number:

7 6 8 0 1

vii) 8680 % 7 = 0

Possible number:

8 6 8 0 0

viii) 9680 % 7 = 6

Possible number:

9 6 8 0 6

we can observe that there are 2 possible numbers which satisfies the given conditions (i.e., 26806 , 96806 )

The No.of possiblities for correct number = 2


Related Solutions

Credit Card Number Check. The last digit of a credit card number is the check digit,...
Credit Card Number Check. The last digit of a credit card number is the check digit, which protects against transcription errors such as error in a single digit or switching two digits. The following method is used to verify actual credit card number but, for simplicity, we will describe it for numbers with 8 digits instead of 16: Starting from the rightmost digit, form the sum of every other digit. For example, if the credit card number is 43589795, then...
Credit Card Number Check. The last digit of a credit card number is the check digit,...
Credit Card Number Check. The last digit of a credit card number is the check digit, which protects against transcription errors such as an error in a single digit or switching two digits. The following method is used to verify actual credit card numbers but, for simplicity, we will describe it for numbers with 8 digits instead of 16: • Starting from the rightmost digit, form the sum of every other digit. For example, if the credit card number is...
Credit Card Number Check. The last digit of a credit card number is the check digit,...
Credit Card Number Check. The last digit of a credit card number is the check digit, which protects against transcription errors such as an error in a single digit or switching two digits. The following method is used to verify actual credit card numbers but, for simplicity, we will describe it for numbers with 8 digits instead of 16: • Starting from the rightmost digit, form the sum of every other digit. For example, if the credit card number is...
Write a java program The last digit of a credit card number is the check digit,...
Write a java program The last digit of a credit card number is the check digit, which protects againts transaction errors. The following method is used to veryfy credit card numbers. For the simplicity we can assume that the credit card has 8 digits instead of 16. Follwing steps explains the algorithm in determining if a credit card number is a valid card.  Starting from the right most digit, form the sum of every other digit. For example, if...
Given the number: 7992739874 What would the check-digit be after applying luhns algorithm and how would...
Given the number: 7992739874 What would the check-digit be after applying luhns algorithm and how would we find it?
The last digit of a credit card number is the check digit, which protects against transcription...
The last digit of a credit card number is the check digit, which protects against transcription errors such as an error in a single digit or switching two digits. The following method is used to verify actual credit card numbers but, for simplicity, we will describe it for numbers with 8 digits instead of 16: 1.) Starting from the rightmost digit, form the sum of every other digit. For example, if the credit card number is 4358 9795, then you...
The last digit of a credit card number is the check digit, which protects againts transaction...
The last digit of a credit card number is the check digit, which protects againts transaction errors. The following method is used to veryfy credit card numbers. For the simplicity we can assume that the credit card has 8 digits instead of 16. Follwing steps explains the algorithm in determining if a credit card number is a valid card.  Starting from the right most digit, form the sum of every other digit. For example, if the credit card is...
Is 100202345X a valid ISBN number? If not, what would the correct check digit have to...
Is 100202345X a valid ISBN number? If not, what would the correct check digit have to be ? Solve the congruence 121x ≡ 5 mod 350.
Create a Guess the Number game. Python randomly chooses a secret four-digit number (with no repeating...
Create a Guess the Number game. Python randomly chooses a secret four-digit number (with no repeating digits) and asks the user to guess it. The user has up to ten attempts to guess the number. After each guess, Python gives the user two clues (until the user either guesses the number correctly or runs out of attempts): The number of digit(s) in the user’s guess that is (are) both correct and in the right position. The number of digit(s) in...
The number 52430 is a 5-digit number whereas 03201 is not a 5-digit number. Determine the...
The number 52430 is a 5-digit number whereas 03201 is not a 5-digit number. Determine the number of 5-digit multiples of 5 that can be created using the digits 0 to 9, if digits may not be repeated
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT