RSS Feed

4:02 pm | 0 recommendations | 6 comments

News You Can't Use

| posted by Heath Row

Did you know that

  • Every Visa card starts with the number 4
  • Every Mastercard starts with the number 5
  • Every American Express starts with the number 3

???

I just learned that -- and I'm not quite sure what to do with the information. I'm also not sure why I'm just now learning this bit of finance trivia; a colleague says she first learned this 15 years ago. Any other credit card arcana?

Comment

Recent Comments | 6 Total

August 26, 2004 at 6:18pm

marc

You forgot Discover, the digit is 6. Another interesting tidbit is that the AmEx card number is 15 digits long vs. 16 for the other issuers.

August 26, 2004 at 7:53pm

Allan

The perl module Business::CreditCard [1] can convert the number to the card type. Very handy & lots of arcana built into that:

return "VISA card" if $number =~ /^4\d{12}(\d{3})?$/o;
return "MasterCard" if $number =~ /^5[1-5]\d{14}$/o;
return "Discover card" if $number =~ /^6011\d{12}$/o;
return "American Express card" if $number =~ /^3[47]\d{13}$/o;
return "Diner's Club/Carte Blanche"
if $number =~ /^3(0[0-5]|[68]\d)\d{11}$/o;
return "enRoute" if $number =~ /^2(014|149)\d{11}$/o;
return "JCB" if $number =~ /^(3\d{4}|2131|1800)\d{11}$/o;
return "BankCard" if $number =~ /^56(10\d\d|022[1-5])\d{10}$/o;
return "Switch"
if $number =~ /^49(03(0[2-9]|3[5-9])|11(0[1-2]|7[4-9]|8[1-2])|36[0-9]{2})\d{10}(\d{2,3})?$/o
|| $number =~ /^564182\d{10}(\d{2,3})?$/o
|| $number =~ /^6(3(33[0-4][0-9])|759[0-9]{2})\d{10}(\d{2,3})?$/o;
return "Solo"
if $number =~ /^6(3(34[5-9][0-9])|767[0-9]{2})\d{10}(\d{2,3})?$/o;
return "Unknown";

Useful?

[1] http://search.cpan.org/~ivan/Business-CreditCard-0.28/CreditCard.pm

August 26, 2004 at 8:53pm

Jennifer

More news you can't use.... unless you are looking for a good program manager or tech writer.

Okay, Here's my absolutely shameless plea for some good resume attention. Trying to get the attention of Microsoft. Is it working? :)

Seems like I read about all kinds of exciting projects and have even gotten to come in and test a few. I'd love to come work where I love to play.

Thanks for any suggestions or consideration!

http://www.geocities.com/jjswanson_mgr

August 27, 2004 at 9:43am

ketan

Here is some telephone trivia. The same persists
in case of telephone numbers also.

Here in India, MTNL numbers start with the digit 2
Hughes Telecom numbers start with the digit 5.

The numbers also specify the areas.

The trend follows in case of cellular phone numbers also.

The starting 2 numbers indicate the Service Provider ( the nos. are fixed for each of them and their respective area, i.e. circle of operation also )

August 29, 2004 at 12:54pm

eric g

I don't know if i would call this info "news", but its definately information that's helpful to someone.

Want to get better attention to your resume? Use HTML TEXT not IMAGES. Search engine optimization tip # 104

February 6, 2008 at 11:21pm

Bryan

Amusing info. I'm a banker and I didn't know that. lol.

Comment