[AccessD] Weekend fun: Primes

Arthur Fuller artful at rogers.com
Tue Dec 13 17:50:40 CST 2005


Not a prod but a gentle friendly nudge. What is that largest prime?
Arthur

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte
Sent: December 13, 2005 4:55 PM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Weekend fun: Primes

Gustav,


I still don't know why this intrigues me...but I found away around the 
2,147,483,647 problem I was having...I got rid of the MOD function, just 
used division instead, and used Instr(1,RemainderTest,".") to see if the 
number had a decimal.

Not sure what I will do with this new knowledge...but I now know alot of 
large Prime numbers.
Now that I have a db that will tell me if any number is prime...any 
suggestions, if any, of what to do with it?

Thanks,
Mark




More information about the AccessD mailing list