Largest Prime Factor

Today we’re going to tackle Project Euler problem number 3! We are going to learn all about primes and factors. This problem is fairly straight-forward, so we shouldn’t have to dig too deep into Wikipedia.

Checkout solution 2 here:

Problem Discussion

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

Jared Nutt

Freelance web developer living in Los Angeles. I write articles I wish I had when I was learning — mostly about Javascript and web development.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store