![]() |
|
|
#13 |
|
May 2007
Kansas; USA
33·5·7·11 Posts |
Can you tell us what kind of credit card it is? That is: Is it a MasterCard, Visa, Discover, etc.?
By using the link given, we can eliminate Diners Club and American Express since those only have 14 and 15 digits respectively but that only eliminates the ranges for the first 6 digits of 300xxx-305xxx, 34xxxx, and 36xxxx-38xxxx. But heh, every little bit helps. :-) Last fiddled with by gd_barnes on 2011-01-20 at 09:18 |
|
|
|
|
|
#14 |
|
Oct 2007
Manchester, UK
5×271 Posts |
From 0000 0002 to 9999 9941, there are 1,767,467 possibilities (out of 5,761,455 primes less than 10^8) for the last 8 digits. It only took pari/gp 15 seconds to count 'em up.
However continuing with the same naïve method I used would take another year, and you can add a bit more time on again for Luhn algorithm check. Based on some flaky maths that wouldn't stand up to any scrutiny whatsoever, I'm going to guestimate there are about 800 billion combinations. |
|
|
|
|
|
#15 |
|
May 2004
New York City
2·29·73 Posts |
|
|
|
|
|
|
#17 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
1) if we check for primes upto and including 9999 we get:
Code:
(16:22)>a=0;forprime(x=1,9999,a=a+1);print(a); 1229 3) continuing to 16 digits we come with 1229000000000000 combos as an absolute maximum. |
|
|
|
|
|
#18 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
Code:
(17:29)>a=0;forstep(x=10000000000000001,9999999999999999,2,if(isprime(x) && isprime(x%100000000) && isprime(x%10000),a=a+1));print(a); 0 Last fiddled with by science_man_88 on 2011-01-20 at 21:36 |
|
|
|
|
|
|
#19 |
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
Science_man, of you can't be bothered to even read up on the most elementary aspects of number theory, just STFU, will you?
Good grief, that was some unbelievably stupid shit there. I had to delete it simply to keep this from turning into another 100-post flamefest between you and Bob Silverman. |
|
|
|
|
|
#20 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
Last fiddled with by science_man_88 on 2011-01-20 at 22:02 |
|
|
|
|
|
|
#21 | |
|
∂2ω=0
Sep 2002
República de California
103·113 Posts |
Quote:
"continuing to 16 digits we come with 1229000000000000 combos as an absolute maximum." I don't know what kind of "resources" you are using, but even the first few paragraphs of the wikipedia entry for "prime number" alludes to the prime counting function. Gah, why do I even bother...I just *had* to click "view post" instead of continuing to blissfully "ignore user". |
|
|
|
|
|
|
#22 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| AMD Announces Industry's First "Supercomputing" Server Graphics Card | ET_ | GPU Computing | 23 | 2013-11-18 17:49 |
| Speeding up double checking when first test returns "prime" | Unregistered | PrimeNet | 16 | 2006-02-28 02:00 |
| Oh noes! The "42nd Mersenne prime" isn't prime! | ixfd64 | Lounge | 7 | 2005-04-03 19:27 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |