open-source-workshop / idc-katas

0 stars 40 forks source link

isCircularPrime #5

Open kritiagrawal11 opened 5 years ago

kritiagrawal11 commented 5 years ago

isCircularPrime

Where to implement

src/isCircularPrime.js

Description (optional)

A circular prime is a prime number with the property that the number generated at each intermediate step when cyclically permuting its (base 10) digits will be prime. (source)

Example: The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime.

anirudhmb commented 5 years ago

assign it to me

anands commented 5 years ago

@anirudhmb goahead