Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 241. Project Euler: Problem 7, Nth prime

Created by Doug Hull

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 Nth prime number?

Thank you to Project Euler Problem 7


Problem Group

Solution Statistics

185 correct solutions 234 incorrect solutions
Last solution submitted on Mar 27, 2015

Problem Comments

Solution Comments