A Judagrali series:
Find the 4th prime number N such that N=NumberOfDigit s(Q) where N is prime AND Q is
prime AND where Q=2p-1 where P is prime.
Example the 1st prime number N is 2, because 2=NumberOfDigit s(31) because 2 is prime and
because 31=2^5-1 and because 5 is prime.
We are looking for the 2nd,3rd, 4th prime number N in the Judagrali series as well as its
corresponding Q and P values.
Hints:
1 The 4th N corresponds to a very large M. Take this into account when doing the
calculation.
2 Computational efficiency is important.
3 Object orientation and inheritance MUST be used. i.e. N is a prime, and a subset
(subclass) of Q, Q is also prime and a subset of P which is also prime.
Find the 4th prime number N such that N=NumberOfDigit s(Q) where N is prime AND Q is
prime AND where Q=2p-1 where P is prime.
Example the 1st prime number N is 2, because 2=NumberOfDigit s(31) because 2 is prime and
because 31=2^5-1 and because 5 is prime.
We are looking for the 2nd,3rd, 4th prime number N in the Judagrali series as well as its
corresponding Q and P values.
Hints:
1 The 4th N corresponds to a very large M. Take this into account when doing the
calculation.
2 Computational efficiency is important.
3 Object orientation and inheritance MUST be used. i.e. N is a prime, and a subset
(subclass) of Q, Q is also prime and a subset of P which is also prime.
Comment