mirror of
https://github.com/jlengrand/project_euler.git
synced 2026-03-10 08:41:20 +00:00
Downloaded some new stuff on primes. Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
20 lines
434 B
Python
20 lines
434 B
Python
#!/usr/bin/env python
|
|
"""
|
|
#---
|
|
Julien Lengrand-Lambert
|
|
Created on : Wed Jan 11 14:42:54 CET 2012
|
|
|
|
DESCRIPTION : Solves problem 7 of Project Euler
|
|
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see
|
|
that the 6th prime is 13.
|
|
What is the 10 001st prime number?
|
|
#---
|
|
"""
|
|
"""
|
|
import utils.primes as prime
|
|
|
|
print prime.prime_list
|
|
print prime.prime(10000)
|
|
print prime.prime_list
|
|
print prime.prime(10000)
|
|
""" |