Primes from 1 to

Category: Python - Miscellaneous

Get the primes from 1 to 100 or really any range you choose. Date: 11 May, 2012


Prime

Homepage: http://code.activestate.com/recipes/576956-primes-from-1-to-100/?in=lang-python

Developer: Adam M Prost

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Shared hosting at affordable rates.

developer Developer: James Maskell
license License: Public Domain
operating systems Operating System: Not Available


PHP Shell is basically a shell wrapped in a PHP script.

developer Developer: gimpster.com
license License: Freeware
operating systems Operating System: Platform independent


This script will find and display all the prime numbers up to a user-determined number.

developer Developer: javascriptsource.com
license License: Freeware
operating systems Operating System: All


Prime number generator code is allmost the fastest prime number generator.

developer Developer: planet-source-code.com
license License: Freeware
operating systems Operating System: All


In this script is included a method for performing the Rabin-Miller probabilistic test for a composite witness.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Another attempt to solve the mystery behind prime numbers.

developer Developer: files.rubyforge.vm.bytemark.co.uk
license License: Freeware
operating systems Operating System: All


This script includes the function primepow(aNumber) that finds the prime number P and power N of aNumber such that aNumber = P^N.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


See Recipe 286155 for original code and author.

developer Developer: Stephen Chappell
license License: Freeware
operating systems Operating System: Windows


This is a very simple wrapper of an iterator or iterable, such that the iterator can be iterated streamingly without generating all elements or any at all, but the object can still be iterated from the beginning as many times as wanted.

developer Developer: Ulrik Sverdrup
license License: Freeware
operating systems Operating System: Windows