OFFSET
1,1
EXAMPLE
167 is a member as the two cyclic permutations other than the number itself i.e. 671 and 716 are composite.
MATHEMATICA
Select[Prime[Range[100]], Union[PrimeQ[FromDigits/@Table[ RotateRight[ IntegerDigits[#], i], {i, IntegerLength[#]-1}]]]=={False}&] (* Harvey P. Dale, Dec 08 2012 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 28 2002
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jun 21 2002
STATUS
approved