Listing Prime Numbers

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

I need you to develop some program for me. I would like this program to be developed using Python.

Write a program to list prime numbers for a user.

Recall that a positive integer n is called "prime" if n has exactly two

divisors: 1 and n.

(Note that 1 is NOT a prime number; it only has 1 divisor.)

How to do this: Let the user give three choices:

1. A positive integer, a, for the first prime to start the list.

2. Which they want:

2a. How many consecutive prime numbers to list, starting at a, or

2b. the last number b (with b > a) to consider for the list.

3. The number corresponding to the choice in #2.

Hint: When checking if a number m is prime, you only need to check

possible divisors up to the square root of m. (Think about why!)

Compute the list according to the user's specifications,

print the list to the user, and ask if they want to do it all again.

If they do, be sure you are able to re-use the list you have just computed!

Mac OS Python Software Architecture

Project ID: #15467068

About the project

6 proposals Remote project Active 6 years ago

Awarded to:

ThanassisKalv

Hi! I can write a correct small program for this quite quickly. Just tell me until when you need it ready Thanks Relevant Skills and Experience python coding Proposed Milestones $22 USD - is ok?

$22 USD in 0 days
(108 Reviews)
6.3

6 freelancers are bidding on average $23 for this job

Weebside

I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you Relevant Skills and Experience I m software engineer. I have read the description and More

$25 USD in 1 day
(41 Reviews)
4.8
anuragbharadwaj

I am a competitive coding enthusiast and this is a cakewalk for me

$25 USD in 1 day
(3 Reviews)
3.3
leandes

Professional Developer using Python. Develop require program.

$25 USD in 1 day
(2 Reviews)
2.9
mostafaelshazly0

Consider it done, it will take me less than an hour ;) Relevant Skills and Experience Attended some heavy Algorithmic courses,Problem solver, Python expert, so this is no problem for me ;) Stay tuned, I'm still work More

$15 USD in 1 day
(6 Reviews)
2.2