1. Home
  2. Explore
  3. Mathematics
  4. Circular Prime Numbers

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Circular Prime Numbers

Speaker 1Speaker 2

Circular Prime Numbers

8:31
0:00-8:31
  1. Hope

    Hey Michael, I'm really excited about our topic today. I heard you mention a special number: 19,937. Any guesses why it's so special, or did you just see the heading on my cheat sheet?

  2. Michael

    Well, I might have peeked! But seriously, 19,937 is a circular prime. That's what makes it so fascinating. But do you know what a circular prime actually is?

  3. Hope

    I think I do! From what I understand, it's a prime number where all of its rotations are also prime numbers. So, for 19,937, that means 9,371 is prime, right?

  4. Michael

    Exactly! And not just that. If you keep rotating the digits, 9,371 becomes 9,3719, which is also prime. And then 37,199 is prime, and finally 71,993 is prime. All those rotations, all prime numbers! It's pretty cool.

  5. Hope

    That's incredible! It depends on the base, of course, but for base 10, that's really something. It makes me wonder, are there an infinite number of circular primes out there?

  6. Michael

    That's the million-dollar question! Who knows? Let's dive in and see what we can find. We actually start with some what I call the 'boring' circular primes: 2, 3, 5, and 7.

  7. Hope

    Boring? Why are single-digit primes boring? Is it because when you rotate them, they're just the same number? Like 2 rotated is still 2, which is still prime?

  8. Michael

    Precisely! You rotate them, and they don't change. 11 is also pretty boring for the same reason. Rotate it, and it's still 11. What about 111? Would that be a boring circular prime?

  9. Hope

    Hmm, 111? Well, it would be boring because all the digits are the same, but it's not a prime number. 111 is 3 multiplied by 37, so it doesn't count. Right?

  10. Michael

    Spot on! So, no, 111 is not a circular prime because it's not prime itself. The next truly boring one, after 11, is a number with 19 ones. It's an enormous number: 1,111,111,111,111,111,111!

  11. Hope

    Wow, that's not a boring number at all in terms of its size! But I get it, for circular primes, it's boring because all its rotations are the same number, and they are all still prime. So it's called a repunit, right?

  12. Michael

    Exactly! It's a repunit prime because it's a repetition of the unit digit, one. We've only found 11 repunit primes so far. The next one after 19 ones has 23 ones, then 317 ones, and then 1,031 ones. We don't even know if there are infinitely many of these.

  13. Hope

    That's fascinating! So these repunit primes are their own category. But let's move on to the less boring circular primes, the ones with different digits. What are the rules for those digits?

  14. Michael

    Excellent question! We can't have a digit two in a circular prime. Think about it: at some point, that two will rotate to the end, making the number even, and therefore not prime. Same goes for four, six, eight, and zero.

  15. Hope

    Ah, I see! And five also can't be in a circular prime because if it rotates to the end, the number would be divisible by five. So, that means circular primes can only contain the digits one, three, seven, and nine, right?

  16. Michael

    Absolutely! That drastically limits the possibilities. So, let's look at the two-digit circular primes, keeping those digits in mind. We've already mentioned 11. What else comes to mind?

  17. Hope

    Well, 13 is prime, and 31 is also prime. So 13 is one! And 17 is prime, and 71 is prime. Then there's 37 and 73, both prime. And 79 is prime, with 97 also prime.

  18. Michael

    You got them all! Those are the two-digit circular primes. I was actually hoping 19 would be on that list, but 91 isn't prime, is it? It's divisible by seven. If only there was an easy test for divisibility by seven.

  19. Hope

    It's a tough one! So, where does this end? Let's talk about three-digit circular primes. Are there many of those? I imagine they'd be getting rarer.

  20. Michael

    They are indeed getting rarer. The three-digit circular primes, listed in their lowest terms, are 113, 197, and 337. That's it for three digits! It's surprising how few there are.

  21. Hope

    Only three? That's amazing. I thought there would be many more. Not only does the number itself have to be prime, but all its rotations must be prime too. That's a very strict condition.

  22. Michael

    Exactly. And as numbers get larger, primes themselves become more sparse, making it even harder to satisfy that rotational prime condition. So these numbers become incredibly rare.

  23. Hope

    So, we actually think there's an end to this list? That's quite a thought. What about our starting number, 19,937? That's a five-digit one, right?

  24. Michael

    Yes, it is! Along with its rotations, and others like 11,939 and 37,799. If we count them all, including the boring ones and the repunits, we have found around 19 unique circular primes, plus those 11 repunit primes.

  25. Hope

    I'm genuinely surprised. I was expecting huge numbers, like phone numbers! So, what's the biggest circular prime we've found so far, not counting the repunits?

  26. Michael

    The biggest one we know of, in its lowest form, is 199,393. Its rotations are also prime. I picked 19,937 earlier because it uses all the allowed digits: one, three, seven, and nine, making it particularly interesting.

  27. Hope

    That's a good reason! So, it does appear to be a finite list for the non-repunits. The larger the number, the harder it is for all those rotations to remain prime. It's a tough constraint.

  28. Michael

    It really is. And to address the comment section, yes, we're talking about base 10. You could do this in any base for fun, but that's what we love about number theory, just exploring these patterns.

  29. Hope

    It's all for fun, indeed! But we can go even one step further. What if instead of just rotating digits, we can mix them up in any order and the number still has to be prime? What are those called?

  30. Michael

    Those are called permutation primes, or absolute primes, which I prefer. I think 'jumble primes' would be a good name, too, Michael! I know you love naming things. Brady's Jumble Prime, I'll expect to see that on Wikipedia soon.

  31. Hope

    I like 'absolute primes' too, it really conveys the idea. But does that mean an absolute prime must also be a circular prime, since rotations are just one type of permutation?

  32. Michael

    Exactly! They have to be circular primes, because rotations are a form of jumbling. This means our list of absolute primes will be even smaller than our already small list of circular primes. It's exhausting just thinking about it!

  33. Hope

    So, aside from the boring single-digit primes and the repunit primes, and the two-digit ones, which are essentially circular primes in terms of their permutations, are there any truly 'interesting' absolute primes?

  34. Michael

    That's the key. Aside from those, the interesting ones, the bigger ones, are actually very few. Are you ready for the list?

  35. Hope

    I am! Lay it on me. I suspect it's going to be incredibly short, given how strict the conditions are.

  36. Michael

    You're right. The list of interesting absolute primes consists of just three numbers: 113, 199, and 337. And that's it! It really shows how difficult that condition is to satisfy.

  37. Hope

    Wow, only three! So the biggest absolute prime we've found is 337? Or rather, 733, if we jumble it up? Because 337, 373, and 733 are all prime.

  38. Michael

    Precisely. And because of the repeated digits in 337, there aren't many unique permutations to check. We actually believe that's all there is. However, if a bigger one does exist, we've even managed to figure out what form it would take.

  39. Hope

    They've proven that? That's incredible! So, if a bigger absolute prime exists, what would it look like? I can only imagine it would be something incredibly specific.

  40. Michael

    It would be nearly a repunit number. It would have the form 'aaa...ab', where 'a' is a repeated digit, and 'b' is a different digit, and 'a' and 'b' can only be 1, 3, 7, or 9. The 'b' could be rotated anywhere, making it a circular prime.

  41. Hope

    That's mind-blowing. And what about the size of this hypothetical number? I'm imagining something gargantuan.

  42. Michael

    Oh, it would be gargantuan, alright! This number, if it exists, would have 6 x 10^175 digits. That's not the number itself, that's the number of digits it would have! It would be a Googleplex-like number.

  43. Hope

    A number with 6 x 10^175 digits? That's an incomprehensibly large number. It seems almost impossible for such a number to exist and satisfy the absolute prime condition. It truly is unlikely.

  44. Michael

    Indeed. I am so confident that 337 is our biggest absolute prime that I'm willing to offer a bounty. A personal one-on-one dinner with Dr. James Grime. And I'll pay!

  45. Hope

    A dinner for two with you? Wow, that's a prize! So, the bounty is out there: find a bigger absolute prime, and you'll get a dinner on Michael. That's a challenge I'd love to see someone take up!

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent