Project Euler: Problem 3, Largest prime factor - MATLAB Cody - MATLAB Central

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

Difficulty:Rate

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

Solution Stats

33.84% Correct | 66.16% Incorrect
Last Solution submitted on May 08, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Group

Card Games Image
Card Games
  • 18 Problems
  • 25 Finishers

Problem Recent Solvers1616

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page