matbalez-zz / project-euler-10001st-prime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Euler

Problem: 10001st Prime

  • 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 10001st prime number?

Instructions

  • Code your procedural solution into the lib/10001st_prime.rb file.
  • Code your object-oriented solution into the lib/oo_10001st_prime.rb file.
  • Run your rspec test suite, and make each RSpec test pass.

Source

About


Languages

Language:Ruby 100.0%