Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
Originally posted by: Dissipate
Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
That's cool. :thumbsup:
Sounds like that thing would be useful for generating encryption keys.
Originally posted by: AccruedExpenditure
is 101 prime? yes
is 1001 prime? yes
is 10001 prime? yes
is 100001 prime? yes
Continue to your hearts content.
Originally posted by: Dissipate
Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
That's cool. :thumbsup:
Sounds like that thing would be useful for generating encryption keys.
Originally posted by: DAGTA
Originally posted by: Dissipate
Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
That's cool. :thumbsup:
Sounds like that thing would be useful for generating encryption keys.
That's exactly what it was used for. I was taking an Encyption class in Spring 2001 and we were working with RSA level encyption. Some of the coolest stuff I've ever coded. Some of the hardest mathematics I've ever dealt with.
Originally posted by: DAGTA
Originally posted by: Dissipate
Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
That's cool. :thumbsup:
Sounds like that thing would be useful for generating encryption keys.
That's exactly what it was used for. I was taking an Encyption class in Spring 2001 and we were working with RSA level encyption. Some of the coolest stuff I've ever coded. Some of the hardest mathematics I've ever dealt with.
Originally posted by: Dissipate
Originally posted by: DAGTA
Originally posted by: Dissipate
Originally posted by: DAGTA
Ok, it's not on a TI, but I wrote a program back in grad school that will generate prime numbers non-deterministically for any length you specify. I ran it on the CS dept's mainframe a few times. The largest I went was a 997 digit prime number. I think that took 4 hours.
That's cool. :thumbsup:
Sounds like that thing would be useful for generating encryption keys.
That's exactly what it was used for. I was taking an Encyption class in Spring 2001 and we were working with RSA level encyption. Some of the coolest stuff I've ever coded. Some of the hardest mathematics I've ever dealt with.
Yeah. That number theory stuff is craaaaaazy abstract. Crytography is for super-geeks, imo. I'm a math-CS major myself, but fortunately I don't have to take number theory. Right now I'm in abstract algebra, and that is bad enough.
Originally posted by: AccruedExpenditure
is 101 prime? yes
is 1001 prime? yes and I am retarded
is 10001 prime? yes and I am retardeder
is 100001 prime? yes and I am the retardest
Continue to your hearts content.
I suck at math, what's the formula to find a prime? I will write a program and see what I can get.
I imagine on a computer using standard integer formats you would be limited by whatever n^64 comes up to though, without coding a library that can "artificially" do the math and use strings.
Wow what's the story here??? Why have I been paying 30+ dollars for a color cartridge???
It's been ages since I've been around AnandTech. It's good to see that the Hot Deals is still A1.
I'll be ordering from this place.
![]()
Agreed
I'm sure there are more efficient ways to do this, but basically you just check to see if the number n is divisible (ie mod 0) by any prime less than n/2, and you probably want to start at the bottom (so divide by 2, then 3, then 5, 7, 11...)
sorry, y think that number is not a prime number:
-24413334027024214953767
-13487100017777(this is more small, bu it's prime).
I suck at math, what's the formula to find a prime? I will write a program and see what I can get.
I imagine on a computer using standard integer formats you would be limited by whatever n^64 comes up to though, without coding a library that can "artificially" do the math and use strings.