+ 1

Write a code to findout whether given number is a Fortunate Number?

Given an integer 'n' find the nth fortunate number. A fortunate number is the smallest integer 'm>1' that for a given positive integer n ,pn+m is a prime number .Here pn is the product of first 'n' prime numbers that is prime factorial of order 'n'.

29th Aug 2018, 5:22 AM
Hrithik Yadav
Hrithik Yadav - avatar
1 Resposta
+ 2
submit challenges to the lesson factory, thanks
29th Aug 2018, 9:08 AM
hinanawi
hinanawi - avatar