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

Problem 234. Project Euler: Problem 3, Largest prime factor

Created by Doug Hull

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the number being input, input might be uint64 for large numbers, out must be double precision?

Thank you to Project Euler Problem 3

Problem Group

Solution Statistics

50 correct solutions 158 incorrect solutions
Last solution submitted on Dec 03, 2014

Solution Comments