Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ ¹ ² ³ °
 

You are not logged in. #126 20130410 00:22:39
Re: Mathematics jokesIt took me the last 24 hrs to generate approximately 14752000 primes 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #127 20130410 02:03:00
Re: Mathematics jokesThat is a lot of time. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #128 20130410 02:07:57
Re: Mathematics jokesDo you have any suggestions to do it faster? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #129 20130410 02:09:14
Re: Mathematics jokesWhat is the way that you are generating yours and what are you using as a language? In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #130 20130410 02:21:10
Re: Mathematics jokesPython(ya, its slow) Code:1. Load the previous list of primes(which I made six months ago) 2. Define the millerrabin with k=7 3. Define the primality test which says whether or not a number is prime by checking whether it is divisible by all the primes which are in the list of primes upto the square root of the given number 4. Let n = the last prime in the list loaded 5. If n = 9999999999, terminate 6. Increment n by 1 7. If millerrabin claims n to be prime, proceed to 8, otherwise goto 5 8. If the real primality test claims n to be prime, proceed to 9, otherwise goto 5 9. Write n in the file, goto 5 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #131 20130410 02:28:08
Re: Mathematics jokesThere are a couple of possible bottlenecks there. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #132 20130410 02:30:49
Re: Mathematics jokesYa, thats a. Good point 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #133 20130410 02:32:43
Re: Mathematics jokesTwo tests for primality are redundant. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #134 20130410 02:39:15
Re: Mathematics jokesBut the Miller rabin is done at first so as to save time 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #135 20130410 02:43:18
Re: Mathematics jokesYes but is it really saving time? I would totally go with the Miller  Rabin. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #136 20130410 02:54:16
Re: Mathematics jokesIf you would totally go with the millerrabin, then how would you be sure whether the number you're going through is prime or not? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #137 20130410 03:02:05
Re: Mathematics jokesThere are things that are almost certainly true. They are so rare as to be impossible. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #138 20130410 03:10:42
Re: Mathematics jokes
The risk is not worth it. 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #139 20130410 03:17:48
Re: Mathematics jokesSupposing you doubled k? What do you think will happen? In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #140 20130410 03:22:51
Re: Mathematics jokesBut still, what if I am one of those unlucky guys out of 100000000 who get a wrong result? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #141 20130410 03:27:55
Re: Mathematics jokesBy the way, last day at 12:30 at night I told Alokananda that her phone number is the sum of two primes. Than I told her that there are more than 113274 ways of representing that 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #142 20130410 03:29:06
Re: Mathematics jokesIf you chose k = 14 then and if you generated 250 000 000 primes you should expect to only have 1 false prime in the list!
Do you know that you take a gamble like that everyday? You do not get unlucky. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #143 20130410 03:36:11
Re: Mathematics jokesIf I choose k=22, how much time would it take to complete upto 9999999999(10 digits)? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #144 20130410 03:42:57
Re: Mathematics jokes
That is another question. Right now we are dealing with mathematics and Agnishom's mind. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #145 20130410 03:52:45
Re: Mathematics jokesWhat are they? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #146 20130410 03:55:10
Re: Mathematics jokesThere are 455052511 primes less than 10 000 000 000. Your list is checked to see if it has that many, then you know there are no errors! In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #147 20130410 05:47:55
Re: Mathematics jokesError? Its my loop! 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #148 20130410 05:50:26
Re: Mathematics jokesExcuse me, I meant 9. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #149 20130410 05:52:45
Re: Mathematics jokes9 says Write n to file, goto 5 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #150 20130410 05:53:40
Re: Mathematics jokesOkay, hold that for a second. Are you clear why you need only one test? Miller  Rabin will be enough? In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. 