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

You are not logged in.

#1 2013-06-17 01:06:30

phanthanhtom
Member
Registered: 2012-06-22
Posts: 215

Prime numbers (a computer continuation)

If you'd like, look at the problem from my post in the Help Me! Forum.
Now, I am looking for algorithm to use in Pascal/Python/whatever to compute those values. I have no knowledge in programming, so help me!

Offline

#2 2013-08-06 02:48:26

Agnishom
Real Member
From: The Complex Plane
Registered: 2011-01-29
Posts: 18,862
Website

Re: Prime numbers (a computer continuation)

Link please?


'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'
'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

#3 2013-08-06 03:02:56

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 90,606

Re: Prime numbers (a computer continuation)


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#4 2013-08-06 03:08:11

Agnishom
Real Member
From: The Complex Plane
Registered: 2011-01-29
Posts: 18,862
Website

Re: Prime numbers (a computer continuation)

Hi;

How do I set the loops without having known an upper limit?


'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'
'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

#5 2013-08-06 03:10:22

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 90,606

Re: Prime numbers (a computer continuation)

Following in the footsteps of the guy who already was there will be a good place to start.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

Board footer

Powered by FluxBB