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.
hehe, there is only 1 possibility, which n could match to any prime. 1 big part of this problem is finding a way to match any prime with any n. It took me around 1 hour to figure it out (pen&paper).
gl
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
Project Euler #131: Prime cube partnership
You are viewing a single comment's thread. Return to all comments →
is there is limit for value of n
hehe, there is only 1 possibility, which n could match to any prime. 1 big part of this problem is finding a way to match any prime with any n. It took me around 1 hour to figure it out (pen&paper).
gl