Step 1a. For a card number with an even number of digits (e.g., Visa or MasterCard), double alternating digits starting with the first digit in the sequence.
Step 1b. For a card with an odd number of digits (e.g., American Express), double alternating digits starting with the second digit in the sequence.
Step 2. If the doubling resulted in a number with two digits, add them together to get a single digit number
Step 3. Now go back to the original credit number and replace the digits that you doubled with the new value — either the doubled value, or the doubled value with the digits added together — and add it all up.
Step 4. Check to see if the sum is evenly divisible by 10 (you can simply look to see whether or not it ends with a zero).
If the card number does not pass this check, then it is not a valid number. If, on the other hand, it does pass, then it may be a valid number with valid credit report.
Step-by-step explanation:
yes, if your teacher meant to include the default factors of every positive integer number : 1 and the number itself.
these are the 2 positive integer factors.
if a positive number can only be divided without remainder by 1 or by itself (with result 1), then it is per definition a prime number.
if the number can be divided without remainder by another number, then we are not dealing with a prime number.
but if your teacher did not have these default factors in mind, then no :
example : 15
15 has only 2 factors : 3 and 5.
both are positive integer numbers.
and yet 15 is not a prime number.
but back to my first point, 15 also has formally the factors 1 and 15. so, if we count them too, then we have suddenly 4 factors. and the original statement fits again.
Do 4 times $15 and 5 times $9. Add both of the answers together. That is the total cost.
Answer:
998, 1000, 1002
Step-by-step explanation:
Self explanatory, if you add the three numbers the sum is 3000.