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.
this is my code. I used sieve of eratosthenes to get possible primes till the Nth value.
passed basic test cases but getting wrong answer in others
can anyone share robust test cases or any other approach?
Project Euler #216: Investigating the primality of numbers of the form 2n² - 1
You are viewing a single comment's thread. Return to all comments →
this is my code. I used sieve of eratosthenes to get possible primes till the Nth value. passed basic test cases but getting wrong answer in others can anyone share robust test cases or any other approach?