2012-03-06 16:00:22 +01:00
|
|
|
title: Find the 10001st prime.
|
|
|
|
url: http://projecteuler.net/problem=7
|
|
|
|
|
|
|
|
desc: |
|
|
|
|
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?
|
|
|
|
|
|
|
|
solution: |
|
|
|
|
Move up the among the prime numbers till you reach 10001
|
|
|
|
|
|
|
|
solutions:
|
|
|
|
solve.php:
|
|
|
|
desc: Basic solution
|
|
|
|
language: php
|
2012-03-06 16:13:32 +01:00
|
|
|
solve.rb:
|
2012-03-06 16:00:22 +01:00
|
|
|
desc: Basic solution
|
2012-03-06 16:13:32 +01:00
|
|
|
language: ruby
|
|
|
|
solve.c:
|
2012-03-06 16:00:22 +01:00
|
|
|
desc: ANSI C (Compiled with TCC) solution
|
2012-03-06 16:13:32 +01:00
|
|
|
language: c
|