Project Euler #48: Self powers