Circular Prime in Java

Channel:
Subscribers:
1,560
Published on ● Video Link: https://www.youtube.com/watch?v=-0DD0CxC51A



Duration: 5:14
40 views
0


Circular Prime in Java

In this tutorial, I have shown how to write a Java program to check if a number is a circular prime or not.

A circular prime is a prime number that remains prime under cyclic shifts of its digits. When the leftmost digit is removed and replaced at the end of the remaining string of digits, the generated number is still prime. The process is repeated until the original number is reached again.

Examples: 197, 131







Tags:
robin sir
circular prime program in java
circular prime
isc
computer science
java