mahaju
Full Member level 2
Is there any way to check whether a number is prime from it's binary representation? And I do not mean the classical method of dividing the number n by numbers from 2 to n-1, but actually determining if it is a prime from it's patterns of 0's and 1's.
Here are some of the related things I have found
**broken link removed**
visualising prime numbers in binary | anjackson.net
If there is any such method I would like to write a program in C or C++ to determine if a number is prime by using it's binary representation
Thanks in advance
Smile
Here are some of the related things I have found
**broken link removed**
visualising prime numbers in binary | anjackson.net
If there is any such method I would like to write a program in C or C++ to determine if a number is prime by using it's binary representation
Thanks in advance
Smile