<![CDATA[Math Is Fun Forum / All primes formula]]> 2020-10-16T01:47:34Z FluxBB http://www.mathisfunforum.com/viewtopic.php?id=25671 <![CDATA[Re: All primes formula]]> Is it safe to say except for 3 13 23 you will never have three consecutive possible primes in a row meaning like three in a row that end in 3 like that showed above our 7 17  27 we took 1 3 7 and 9 and every possible number to Indian in it you will never have three in a row correct that end in it meaning the same number weatherby one three times seven three times but consecutive is that safe to say

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-10-16T01:47:34Z http://www.mathisfunforum.com/viewtopic.php?pid=415389#p415389
<![CDATA[Re: All primes formula]]>
If
denote the prime numbers, then there exists a constant

and a sequence

such that
is the nth prime. It can be shown that this recurrence relation generates all the prime numbers -- however, the complexity of this problem (as is often the case with prime-generating constants) is determining the value of
to a sufficiently high degree of accuracy. The proof of this result uses Bertrand's postulate.

Here, I've used
to denote the floor of x (you can think of that as 'rounding down x to the nearest whole number') and
to denote the fractional part of x. So in other words, we'd have
and
.

The exact value of
can be represented as an infinite sum:

You need about 25 terms in the series above to get all the primes less than 100, for example.

]]>
http://www.mathisfunforum.com/profile.php?id=206089 2020-07-12T22:04:46Z http://www.mathisfunforum.com/viewtopic.php?pid=414218#p414218
<![CDATA[Re: All primes formula]]> With all due respect, can Knewlogik stop referring to irrelevant prayers?(I have no disrespect for religion - I am a Christian myself, but it is not necessary here.) Also, please learn how to use punctuation(commas, semicolons, you know... periods.)

Are you ESL?

]]>
http://www.mathisfunforum.com/profile.php?id=188456 2020-07-09T03:41:00Z http://www.mathisfunforum.com/viewtopic.php?pid=414143#p414143
<![CDATA[Re: All primes formula]]> Knewlogik wrote:

Well I've been crunching numbers and I figured out a way to pull the pr do I have an answer for the primes problem now all you have to do is take the number 2520 and divided by any number that is two digit add another zero if you want to do three digits add another zero if you want to do for digits add another zero if you want to do 5 digits and if the denominator of the mixed fraction is the same as the number you divided into my special number then it is a prime bottom line I've tried every prime so far has worked  example 25200/101=.             249 51/101.  just ignore the rest of the number and noticed the denominator is 101 so therefore it must be prime and only then is it prime

This is an extremely confusing process. Please explain it more clearly.

]]>
http://www.mathisfunforum.com/profile.php?id=222180 2020-07-07T02:26:58Z http://www.mathisfunforum.com/viewtopic.php?pid=414089#p414089
<![CDATA[Re: All primes formula]]> So I've been on this prime thing this whole time and I was just in spreadsheet I figured out a way to get every prime but it takes a little bit of work cuz I don't know how to write the formulas but if you were to for example I'm sure you're familiar with Excel start with the first line skip it and go to the second line which would be a2 you leave that square blank and then B2 you put the number two i C2 you leave blank D2 you put the number two can you repeat this all the way down forever infinity then you go down to the the list draw the numbers meaning the third line will have two blanks and then the number three to blanks number 3/4 vinyl have three blanks number for three blanks number for when you do this can you do it all the way through you'll be left with empty columns with the number at the bottom of it and the number at the bottom is always going to be a prime and it's only going to be a prime

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-07-07T00:19:11Z http://www.mathisfunforum.com/viewtopic.php?pid=414087#p414087
<![CDATA[Re: All primes formula]]> You don't have to check to see if it's in lowest terms that's the point of the number the d answer or denominator whatever will be the same as the number that you're dividing into the set d1=2520, d2=92378* D1

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-11T04:27:51Z http://www.mathisfunforum.com/viewtopic.php?pid=413565#p413565
<![CDATA[Re: All primes formula]]> sorry white 143 is not a prime I'll question for I should have switched to the three-digit number I was still using two two digit number on my calculator so sorry about that 232792560/143=1627920 so no prime

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-11T04:22:40Z http://www.mathisfunforum.com/viewtopic.php?pid=413564#p413564
<![CDATA[Re: All primes formula]]> You need  to state exactly what the procedure is.  Sometimes a flow diagram is helpful.

You need steps like

"Let N represent the number under test.

" Let D represent the dividend"

"Set D = 25200"

Calculate D/N.

Say what to do if (a) the answer is an integer; (b) how to extract the 'remainder' as a fraction.

"Test if the fraction is in its lowest terms."

The above is not a complete algorithm.  I'm not sure exactly what steps you want to take for this to be successful.  You need a very clear set of steps.  If I cannot understand them, how will your computer program 'know' what to do at each step?

Bob

]]>
http://www.mathisfunforum.com/profile.php?id=67694 2020-06-10T11:23:08Z http://www.mathisfunforum.com/viewtopic.php?pid=413553#p413553
<![CDATA[Re: All primes formula]]> How would you write that into something I can run on a computer

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-10T08:33:56Z http://www.mathisfunforum.com/viewtopic.php?pid=413550#p413550
<![CDATA[Re: All primes formula]]> My number work for 2 digit 3 digit use 232792560

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-10T08:32:49Z http://www.mathisfunforum.com/viewtopic.php?pid=413549#p413549
<![CDATA[Re: All primes formula]]> 143 = 13 * 11

B

]]>
http://www.mathisfunforum.com/profile.php?id=67694 2020-06-10T07:30:02Z http://www.mathisfunforum.com/viewtopic.php?pid=413548#p413548
<![CDATA[Re: All primes formula]]> 25200/73=345+15/73 73 is the denominator so 73 is prime
2520/77=327+3/11 11 is denominator so this is not prime since it's not 77
25200/91=276+12/13 13 is  not 91 so it's not prime
25200/143=176+32/143 143 is the denominator  so yes this is primesee

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-10T03:36:53Z http://www.mathisfunforum.com/viewtopic.php?pid=413546#p413546
<![CDATA[Re: All primes formula]]> Sorry. It's still not making any sense to me.  I had hoped for some examples of this in action.  Tell you what: how about I set some examples and you show how your method works for those:#

Test numbers:

(1) 73

(2) 77

(3)  91

(4)  143

Thanks,

Bob

]]>
http://www.mathisfunforum.com/profile.php?id=67694 2020-06-09T17:34:02Z http://www.mathisfunforum.com/viewtopic.php?pid=413543#p413543
<![CDATA[Re: All primes formula]]> Knewlogik wrote:

Well I've been crunching numbers and I figured out a way to pull the pr do I have an answer for the primes problem now all you have to do is take the number 2520 and divided by any number that is two digit add another zero if you want to do three digits add another zero if you want to do for digits add another zero if you want to do 5 digits and if the denominator of the mixed fraction is the same as the number you divided into my special number then it is a prime bottom line I've tried every prime so far has worked  example 25200/101=.             249 51/101.  just ignore the rest of the number and noticed the denominator is 101 so therefore it must be prime and only then is it prime

Prayer changes things and gives results

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-09T15:11:43Z http://www.mathisfunforum.com/viewtopic.php?pid=413541#p413541
<![CDATA[Re: All primes formula]]> 2520 will do primes of three digits and below if you want to go any higher you just keep adding a zero to my magic number you want to divide any number into my magic number if you come up with the mixed number and it has a denominator that is the same as the number you divided by then you know it's prime l

]]>
http://www.mathisfunforum.com/profile.php?id=221975 2020-06-09T12:33:12Z http://www.mathisfunforum.com/viewtopic.php?pid=413537#p413537