Math Is Fun Forum

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

You are not logged in.

#1 2012-04-14 16:57:01

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Prime numbers. How to calculate? Algorithm

Hello forum members.

I come with an enthusiasm to solve the mystery of prime numbers ...
Is there any algorithm to calculate them all? dunno

I discovered an algorithm 2 days ago when I was bathing. But not as a check. what
Also I have to show that they all prime numbers.
It is based on the selection of two numbers (that which must be defined) and enter the algorithm that results in a prime number.
For now is working. (Not a computer program, only one account)

I wanted to know if anyone would have the prime numbers from 1,000,000 to 100,000,000 would not have to see if the result is prime or not. (I have the numbers to 1,000,000)

I do not own any advanced technology to calculate them.

Of course, thank you very much. up


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#2 2012-04-14 16:59:09

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Have you searched online for lists of primes?


Here is to 2 000 000.
http://www.mathematical.com/primes1000kto2000k.html


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2012-04-14 17:00:45

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Prime numbers. How to calculate? Algorithm

Hi

See if this link works for you:Prime numbers up to 1000000000000


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#4 2012-04-14 17:02:55

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

I search the internet but only found up to 1,000,000

So I ask the other using the algoritme because I feel that I have numbers larger than 3,000,000


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#5 2012-04-14 17:03:20

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Is there any algorithm to calculate them all?

You can not do that. There are an infinite number of them.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2012-04-14 17:05:54

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Prime numbers. How to calculate? Algorithm

Hi bobbym

I think that an algorithm that can generate prime numbers up to a million is pretty good. Let's see what he has.


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#7 2012-04-14 17:08:42

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

Thanks.!!


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#8 2012-04-14 17:08:44

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Yes, to a million you can reasonably fast. But the problem of generating primes is somewhat different.

There are formulas that only generate primes. But none except for the Jones formula that can generate all of them. Also that formula is not really a formula at all.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#9 2012-04-16 12:14:48

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

Its Free...!!!   roflol

jejeje yikes

roflol dizzy eek

Last edited by mathmatiKs (2012-04-16 12:21:12)


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#10 2012-04-16 12:16:28

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Hi;

That did not work.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#11 2012-04-16 12:17:35

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

Why???

sad


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#12 2012-04-16 12:19:08

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

I mean the latex, look at post #9. What are you trying to do?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#13 2012-04-16 12:22:12

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

Do not understand how LaTeX works well. -_-


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#14 2012-04-16 12:23:40

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

I go to sleep. Tomorrow partial geometry.

I hope not to have a blank mind big_smile


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#15 2012-04-16 12:24:37

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Okay good luck.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#16 2012-04-19 11:27:20

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

Let

be a natural number such that
is a perfect square. Try then
is the sum of two squares. Are they straight?

I did this:


and as I now? dunno

I know that I use but not as.

Help me!


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#17 2012-04-19 11:57:51

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

big_smile I'm learning


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#18 2012-04-19 13:06:01

mathmatiKs
Member
Registered: 2012-04-14
Posts: 45

Re: Prime numbers. How to calculate? Algorithm

I have a result. big_smile

No problem, thanks.


"... And as we let our own light shine, we unconsciously give other people permission to do the same. As we're liberated from our own fear, our presence automatically liberates others."

Offline

#19 2012-04-20 05:05:42

hammana
Member
Registered: 2012-03-02
Posts: 48

Re: Prime numbers. How to calculate? Algorithm

Hi mathmatiKs

If you program in Liberty Basic, I think there is  a way to obtain 100 000 000 prime numbers, but they would be written in a file an the program will certainly take a long time to run

Offline

#20 2012-04-22 01:04:49

hammana
Member
Registered: 2012-03-02
Posts: 48

Re: Prime numbers. How to calculate? Algorithm

Hi bobbym

Can you try this site. It looks very professional
and goes up to 50 000 000

http://primes.utm.edu/lists/small/millions/

Offline

#21 2012-04-22 01:09:36

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Prime numbers. How to calculate? Algorithm

Hi hammana;

Yes, it is a nice site.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#22 2012-06-19 19:58:37

Golda
Member
Registered: 2012-06-19
Posts: 3

Re: Prime numbers. How to calculate? Algorithm

I just saw your post.  If you are still in need of primes I have all the primes from 2 to 62,191,319,129 and counting.  These are true primes not probables.  If you are interested we will need to figure out a way to get them to you as this is approximately 36 gigabytes of info.  Not something you could email.

Offline

Board footer

Powered by FluxBB