Sum of all the digits is 45. So no matter whichever number is formed by permutation of the given digits, it will be always divisible by 3. Hence the number will never be a prime.

Can you please tell me how to determine if a numbe of the form \( a^n - 1 \) is a prime or not, where \( a \) is a fixed natural number and \(n\) is any natural number?

## Comments

Sort by:

TopNewestSum of all the digits is 45. So no matter whichever number is formed by permutation of the given digits, it will be always divisible by 3. Hence the number will never be a prime.

Log in to reply

Can you please tell me how to determine if a numbe of the form \( a^n - 1 \) is a prime or not, where \( a \) is a fixed natural number and \(n\) is any natural number?

Log in to reply