Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 395 Bytes

readme.md

File metadata and controls

16 lines (8 loc) · 395 Bytes

The 5-digit number, 16807=7^5, is also a fifth power. Similarly, the 9-digit number, 134217728=8^9, is a ninth power.

How many n-digit positive integers exist which are also an n-th power?

Running

$ python euler63.py

(Just make sure that's Python 3!)