This site is supported by donations to The OEIS Foundation.



The OEIS is looking to hire part-time people to help edit core sequences, upload scanned documents, process citations, fix broken links, etc. - Neil Sloane, njasloane@gmail.com

(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A016114 Circular primes (numbers that remain prime under cyclic shifts of digits). 7
2, 3, 5, 7, 11, 13, 17, 37, 79, 113, 197, 199, 337, 1193, 3779, 11939, 19937, 193939, 199933, 1111111111111111111, 11111111111111111111111 (list; graph; refs; listen; history; text; internal format)



The next repunit that is prime has 317 digits, all ones.  See A004023. - Harvey P. Dale, Mar 22 2012

Only the smallest member of the cyclic shift is listed. See A068652 for all members. - Chai Wah Wu, Nov 09 2015

It is highly likely that all circular primes not on the list above are repunits (see Caldwell link). - Ray Chandler, May 04 2017


Table of n, a(n) for n=1..21.

K. S. Brown, On General Palindromic Numbers

C. K. Caldwell, Circular Primes

P. De Geest, Circular Primes

H. Heinz, Prime Patterns (Illustration using 19937)

Gianni Sarcone, Tourbillonnants nombres premiers, Tangente Web Site, No date. The claim stated here is false (see comments in A068652).


fQ[p_] := Module[{b = IntegerDigits[p], ps}, ps = Table[FromDigits[b = RotateLeft[b]], {Length[b]}]; If[p > Min[ps], False, And @@ PrimeQ[ps]]]; Select[Prime[Range[100000]], fQ] (* T. D. Noe, Mar 22 2012 *)


Sequence includes all prime repunits (A004023). Cf. A003459.

For a sequence listing all the prime-yielding cyclic permutations see A068652.

Sequence in context: A117835 A120639 A141263 * A263499 A258706 A265408

Adjacent sequences:  A016111 A016112 A016113 * A016115 A016116 A016117




Robert G. Wilson v


One more term from Lekraj Beedassy, Nov 07 2002



Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 27 00:21 EDT 2017. Contains 287189 sequences.