We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Guys I spent months trying to solve another challenge (Resilience) in Euler's project by actually making the combinations and sets. But at the end I realized that my numbers are getting bigger and bigger and system just hangs trying to find prime factors for larger numbers.
At the end i figured out that its about finding the properties of the given challenge and coming up with a formula.
For this challenge look at the higher value of n, it is 10^400. so what would be the last element in the main set? its (10^400)^10^400. What on universe is that number?
So there must be a forumula with n and k as its components that gives the result.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #250: 250250
You are viewing a single comment's thread. Return to all comments →
Guys I spent months trying to solve another challenge (Resilience) in Euler's project by actually making the combinations and sets. But at the end I realized that my numbers are getting bigger and bigger and system just hangs trying to find prime factors for larger numbers.
At the end i figured out that its about finding the properties of the given challenge and coming up with a formula.
For this challenge look at the higher value of n, it is 10^400. so what would be the last element in the main set? its (10^400)^10^400. What on universe is that number? So there must be a forumula with n and k as its components that gives the result.