Files
project_euler/e_35.py
Julien Lengrand-Lambert a35f0a5c3b Solves Problem 36.
Initiates problem 35

First shot was ok.
Problem 35 can be done with some reuse.

Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
2012-02-01 22:55:23 +01:00

17 lines
533 B
Python

#!/usr/bin/env python
"""
##---
# Julien Lengrand-Lambert
#Created on : Thu Jan 19 10:12:06 CET 2012
#
# DESCRIPTION : Solves problem 35 of Project Euler
The number, 197, is called a circular prime because all rotations of the digits:
197, 971, and 719, are themselves prime.
There are thirteen such primes below 100: 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, and 97.
How many circular primes are there below one million?
##---
"""
if __name__ == '__main__' :
print "Answer is : %d" % (1000000)
raw_input()