mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2019-03-03, 03:13   #1
MathDoggy
 
Mar 2019

678 Posts
Default I Think I Have A "Prime Generating Formula" (without the formula)

Let N be the set of natural numbers
Let n be an element of N
Then, do N^2, if n has 3 divisors do square root(n)

Examples:
N= 1,2,3,4,5,6,7,8,9,10...
N^2= 1,4,9,16,25,36,49...
4 has three divisors so, sqrt(4)=2 which is prime
This formula gives consecutive prime numbers

And it works because primes are in the set of natural numbers so the square of a prime p will have always the divisors p, 1 and p^2
This work can't be replicated or plagiarize
MathDoggy is offline   Reply With Quote
Old 2019-03-03, 03:26   #2
axn
 
axn's Avatar
 
Jun 2003

43·127 Posts
Default

Ho do you count the divisors without factorizing N^2 (and therefore, N as well)?
axn is online now   Reply With Quote
Old 2019-03-03, 03:32   #3
MathDoggy
 
Mar 2019

5×11 Posts
Default

You can count the number of divisors of n by the formula: k sub 1 times k sub n+1 where k is the power of the factors of the number you are checking
MathDoggy is offline   Reply With Quote
Old 2019-03-03, 03:40   #4
axn
 
axn's Avatar
 
Jun 2003

43·127 Posts
Default

Quote:
Originally Posted by MathDoggy View Post
the power of the factors of the number you are checking
And how do you get the power of the factors without knowing the factors (aka factorizing the number)?
axn is online now   Reply With Quote
Old 2019-03-03, 03:52   #5
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

1012 Posts
Default

Quote:
Originally Posted by MathDoggy View Post
This work can't be replicated or plagiarized
Said the man who plagiarized.
Batalov is offline   Reply With Quote
Old 2019-03-03, 05:10   #6
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

2×3×1,129 Posts
Default

Quote:
Originally Posted by MathDoggy View Post
Let N be the set of natural numbers
Let n be an element of N
Then, do N^2, if n has 3 divisors do square root(n)

Examples:
N= 1,2,3,4,5,6,7,8,9,10...
N^2= 1,4,9,16,25,36,49...
4 has three divisors so, sqrt(4)=2 which is prime
This formula gives consecutive prime numbers

And it works because primes are in the set of natural numbers so the square of a prime p will have always the divisors p, 1 and p^2
This work can't be replicated or plagiarize
Why even bother with the squaring step?

How about this simplification:

Let N be the set of natural numbers
Let n be an element of N

If n has 2 divisors then n is prime.

Example:
n= 1,2,3,4,5,6,7,8,9,10...
2 has two divisors so 2 is prime
This formula gives consecutive prime numbers

And it works because primes are in the set of natural numbers so a prime p will have always the divisors 1 and p
This work can't be replicated or plagiarize


What do I win?

Last fiddled with by retina on 2019-03-03 at 05:11
retina is online now   Reply With Quote
Old 2019-03-03, 12:21   #7
MathDoggy
 
Mar 2019

5×11 Posts
Default

Good point retina
MathDoggy is offline   Reply With Quote
Old 2019-03-03, 12:27   #8
MathDoggy
 
Mar 2019

5·11 Posts
Default

Quote:
Originally Posted by axn View Post
And how do you get the power of the factors without knowing the factors (aka factorizing the number)?
I didn´t mention how would I get the factors of the numbers due to being unaware of what I wrote, you can run a factorization program to obtain the factors of a given number
MathDoggy is offline   Reply With Quote
Old 2019-03-03, 12:29   #9
MathDoggy
 
Mar 2019

5·11 Posts
Default

Quote:
Originally Posted by Batalov View Post
Said the man who plagiarized.
What do you mean?
MathDoggy is offline   Reply With Quote
Old 2019-03-03, 12:59   #10
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

32×52×72 Posts
Default

So, take a nice 'large' number. Say for example, 987654321098765432109876543210987654321.
Square that. How long might it take to find out that the number has exactly 3 factors? What about if the number was 5, 10, or 50 times as long?

Hmm, 3 factors..... let's think about that!

23 is prime
232=529
If 529 has only 3 factors, they are: 1, 23, and 529
What does this tell us?
First we can throw out 1 and 529, as every number has 1 and themselves as factors.
So we are left with 23. Which can't be factored any more, else we would have more than 3 factors. Which means 23 is prime. And it means that 529 is the square of a prime.

So, rather than just trying to sieve 23, you want us to square it, then completely factor that number, then take a costly square root of the new number, just to get back to the original 23.

Go think about this for a while (take a couple of days if needed). See if you can figure out what steps in your process that can be eliminated. The see what you have left.

Last fiddled with by Uncwilly on 2019-03-03 at 13:00
Uncwilly is offline   Reply With Quote
Old 2019-03-03, 13:18   #11
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

1A7616 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
So, take a nice 'large' number. Say for example, 987654321098765432109876543210987654321.
Square that. How long might it take to find out that the number has exactly 3 factors? What about if the number was 5, 10, or 50 times as long?

Hmm, 3 factors..... let's think about that!

23 is prime
232=529
If 529 has only 3 factors, they are: 1, 23, and 529
What does this tell us?
First we can throw out 1 and 529, as every number has 1 and themselves as factors.
So we are left with 23. Which can't be factored any more, else we would have more than 3 factors. Which means 23 is prime. And it means that 529 is the square of a prime.

So, rather than just trying to sieve 23, you want us to square it, then completely factor that number, then take a costly square root of the new number, just to get back to the original 23.

Go think about this for a while (take a couple of days if needed). See if you can figure out what steps in your process that can be eliminated. The see what you have left.
https://mersenneforum.org/showpost.p...71&postcount=6
retina is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this (prime numbers) formula known ? Godzilla Miscellaneous Math 10 2018-09-27 02:23
prime formula meeztamike Miscellaneous Math 11 2010-07-18 04:13
A prime finding formula. what do you think? cipher Math 15 2009-06-08 05:19
formula for largest prime found debasish Miscellaneous Math 20 2007-09-28 03:48
prime number formula tjmag Miscellaneous Math 6 2003-12-11 20:21

All times are UTC. The time now is 12:19.


Fri Jun 9 12:19:30 UTC 2023 up 295 days, 9:48, 0 users, load averages: 0.70, 0.85, 0.88

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔