- 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?
- 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
learn
until you get all of the RSpec tests to pass.
View Project Euler on Learn.co and start learning to code for free.