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

You are not logged in. #151 20130410 05:59:14
Re: Mathematics jokesYa because at last we can check whether it has the required number of primes or not. And moreover, the number of primes can be less but NEVER more because if it says that a number is composite it definately is '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 #152 20130410 06:02:44
Re: Mathematics jokesOkay, so we have sped it up already because you are no longer using trial division, which is slow. 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. #153 20130410 06:04:37
Re: Mathematics jokesOkay! A gigabite? Last edited by Agnishom (20130410 06:05:04) '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 #154 20130410 06:07:00
Re: Mathematics jokesEach prime you will probably store in ascii. An n digit number takes at least n bytes of storage on your drive. 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. #155 20130410 06:07:51
Re: Mathematics jokesYes, actually closing it isn't a part of the code Last edited by Agnishom (20130410 06:08:24) '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 #156 20130410 06:11:11
Re: Mathematics jokesSo there is one opening of the file and one closing? 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. #157 20130410 06:12:30
Re: Mathematics jokesYes, so what? '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 #158 20130410 06:15:16
Re: Mathematics jokesOkay, that is alright then. If you opened and closed it after writing each number n, it would be much slower. 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. #159 20130410 06:19:26
Re: Mathematics jokesLOL, good night '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 #160 20130410 06:24:51
Re: Mathematics jokesWhen you come back tell me how long the program took without writing to the file. 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. #161 20130410 14:03:25
Re: Mathematics jokesI am back but I didn't understand what you asked Last edited by Agnishom (20130410 14:06:53) '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 #162 20130410 14:13:19
Re: Mathematics jokesIf you took out the writing to the file and just generated the 10 million how long would that take? 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. #163 20130410 14:39:40
Re: Mathematics jokesThen where will the generated primes go? '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 #164 20130410 17:12:00
Re: Mathematics jokesNowhere, you are just benchmarking the program to see which part of the routine is using the most 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. #165 20130410 18:30:53
Re: Mathematics jokesi have forgotten to mention something else which is slowing me down '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 #166 20130410 18:34:59
Re: Mathematics jokesPlease mention it?! 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. #167 20130410 18:40:02
Re: Mathematics jokesI told it to display n to the console whenever it is a multiple of 1000, so as to know the progress '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 #168 20130410 18:46:39
Re: Mathematics jokesWhere are you now? 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. #169 20130410 18:50:48
Re: Mathematics jokesI terminated the program, I have no more interest a 17 mb file is enough to split all 10 digit phone numbers. '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 #170 20130410 18:55:02
Re: Mathematics jokesOkay, then the problem is solved. You are satisfied so I am too. 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. #171 20130410 18:56:59
Re: Mathematics jokesActually I am pretty much afraid of 1 gb file size '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 #172 20130410 19:02:25
Re: Mathematics jokesYou should be! You have had your first taste of computational number theory and saw the big problem. 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. #173 20130410 19:24:17
Re: Mathematics jokesWhat does computational number theory consist of? '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 #174 20130410 19:24:58
Re: Mathematics jokesYou just did it. 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. #175 20130410 19:29:01
Re: Mathematics jokesHmm '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 