If you've been around for a while, you probably know that all Mastercard credit cards start with 5, and all Visa cards start with 4. Beyond that, there's more math than you realized in credit card numbers. They are not randomly generated. For example, the last number is what's called a "check digit." It's there to make sure the other numbers are correct.
You don’t select this last digit, it is deterministic. The exact mathematic formula for its generation was invented by Hans Peter Luhn, an engineer at IBM in 1954. Originally patented, the algorithm is now in the public domain and a Worldwide standard ISO/IEC 7812-1
Obviously, with just a single check digit, not all errors can be detected (there’s a one in ten chance of a random number having the correct check digit), but the Luhn algorithm is clever in that it detects any single error (getting a single digit wrong), such as swapping the 9 with a 6 in the above example. It also detects almost all* pair-wise switching of two adjacent numbers. These errors are typical common errors people make when transcribing card numbers, so the check digit does a good thing.
An added side benefit is that, as discussed above, there is only a one in ten chance that a randomly generated number has the correct check digit. This provides a small amount of protection from hackers or poorly educated crooks who might attempt to randomly generate and guess credit card numbers.
See the formula for the check digit in action at DataGenetics, and more about how credit card numbers work. Link -Thanks, Nick!
Comments (1)
A very, very early prototype developed back in the 12th century.
"Hark, yon fair maiden! We shalt returneth soon and abscond with thy personage!"
June 25th, 2009 at 7:54 am
It’s an early prototype of “Mr. Microphone”.
A very, very early prototype developed back in the 12th century.
“Hark, yon fair maiden! We shalt returneth soon and abscond with thy personage!”[/quote]
Hilarious.
I think that Chris P has the answer.
Not funny or dirty but possibly correct.
k thx bai
To mash fruit and such through a cone shaped strainer.
Hmmm, yes. Some may call it torture!
Of course, for full effect, use while listening to Lovely Lovely Ludwig.
(Gosh I hope one of you nerds gets that reference.)
used to use something Similar for making red chile... but this one isn't quite as comfortable looking.
1. Wine stopper
2. Plum Bob
3. Pipe deburrer
Amor y paz.
I say one-size-fits-all-cork
I just know I've seen one of these...
just... can't... remember...
Might be for winding iron wire around to make spiral cones of wire.
just don't know what theyre used for.
Allthough I somehow half remember it had to do with making cloth, or spinning wool or something...
hrm.
can't wait for the answer!
No prize this time? Can't you just send me something...anything? A pencil? A half-eaten hotdog?