Demo entry 4722527

codeEulerProblem3

   

Submitted by anonymous on May 11, 2016 at 14:33
Language: Python. Code size: 196 Bytes.

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

What is the largest prime factor of the number 600851475143 ?

"""

from sympy import primefactors
print primefactors(600851475143)[-1]

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).