Base-dependent integer sequences | Permutations | Classes of prime numbers

Permutable prime

A permutable prime, also known as anagrammatic prime, is a prime number which, in a given base, can have its digits' positions switched through any permutation and still be a prime number. H. E. Richert, who is supposedly the first to study these primes, called them permutable primes, but later they were also called absolute primes. In base 10, all the permutable primes with fewer than 49,081 digits are known 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, 97, 113, 131, 199, 311, 337, 373, 733, 919, 991, R19 (1111111111111111111), R23, R317, R1031, ... (sequence in the OEIS) Of the above, there are 16 unique permutation sets, with smallest elements 2, 3, 5, 7, R2, 13, 17, 37, 79, 113, 199, 337, R19, R23, R317, R1031, ... (sequence in the OEIS) Note Rn = is a repunit, a number consisting only of n ones (in base 10). Any repunit prime is a permutable prime with the above definition, but some definitions require at least two distinct digits. All permutable primes of two or more digits are composed from the digits 1, 3, 7, 9, because no prime number except 2 is even, and no prime number besides 5 is divisible by 5. It is proven that no permutable prime exists which contains three different of the four digits 1, 3, 7, 9, as well as that there exists no permutable prime composed of two or more of each of two digits selected from 1, 3, 7, 9. There is no n-digit permutable prime for 3 < n < 6·10175 which is not a repunit. It is conjectured that there are no non-repunit permutable primes other than the eighteen listed above. They can be split into seven permutation sets: {13, 31}, {17, 71}, {37, 73}, {79, 97}, {113, 131, 311}, {199, 919, 991}, {337, 373, 733}. In base 2, only repunits can be permutable primes, because any 0 permuted to the ones place results in an even number. Therefore, the base 2 permutable primes are the Mersenne primes. The generalization can safely be made that for any positional number system, permutable primes with more than one digit can only have digits that are coprime with the radix of the number system. One-digit primes, meaning any prime below the radix, are always trivially permutable. In base 12, the smallest elements of the unique permutation sets of the permutable primes with fewer than 9,739 digits are known (using inverted two and three for ten and eleven, respectively) 2, 3, 5, 7, Ɛ, R2, 15, 57, 5Ɛ, R3, 117, 11Ɛ, 555Ɛ, R5, R17, R81, R91, R225, R255, R4ᘔ5, ... There is no n-digit permutable prime in base 12 for 4 < n < 12144 which is not a repunit. It is conjectured that there are no non-repunit permutable primes in base 12 other than those listed above. In base 10 and base 12, every permutable prime is a repunit or a near-repdigit, that is, it is a permutation of the integer P(b, n, x, y) = xxxx...xxxyb (n digits, in base b)where x and y are digits which is coprime to b. Besides, x and y must be also coprime (since if there is a prime p divides both x and y, then p also divides the number), so if x = y, then x = y = 1. (This is not true in all bases, but exceptions are rare and could be finite in any given base; the only exceptions below 109 in bases up to 20 are: 13911, 36A11, 24713, 78A13, 29E19 (M. Fiorentini, 2015).) Let P(b, n, x, y) be a permutable prime in base b and let p be a prime such that n ≥ p. If b is a primitive root of p, and p does not divide x or |x - y|, then n is a multiple of p - 1. (Since b is a primitive root mod p and p does not divide |x − y|, the p numbers xxxx...xxxy, xxxx...xxyx, xxxx...xyxx, ..., xxxx...xyxx...xxxx (only the bp−2 digit is y, others are all x), xxxx...yxxx...xxxx (only the bp−1 digit is y, others are all x), xxxx...xxxx (the repdigit with n xs) mod p are all different. That is, one is 0, another is 1, another is 2, ..., the other is p − 1. Thus, since the first p − 1 numbers are all primes, the last number (the repdigit with n xs) must be divisible by p. Since p does not divide x, so p must divide the repunit with n 1s. Since b is a primitive root mod p, the multiplicative order of n mod p is p − 1. Thus, n must be divisible by p − 1) Thus, if b = 10, the digits coprime to 10 are {1, 3, 7, 9}. Since 10 is a primitive root mod 7, so if n ≥ 7, then either 7 divides x (in this case, x = 7, since x ∈ {1, 3, 7, 9}) or |x − y| (in this case, x = y = 1, since x, y ∈ {1, 3, 7, 9}. That is, the prime is a repunit) or n is a multiple of 7 − 1 = 6. Similarly, since 10 is a primitive root mod 17, so if n ≥ 17, then either 17 divides x (not possible, since x ∈ {1, 3, 7, 9}) or |x − y| (in this case, x = y = 1, since x, y ∈ {1, 3, 7, 9}. That is, the prime is a repunit) or n is a multiple of 17 − 1 = 16. Besides, 10 is also a primitive root mod 19, 23, 29, 47, 59, 61, 97, 109, 113, 131, 149, 167, 179, 181, 193, ..., so n ≥ 17 is very impossible (since for this primes p, if n ≥ p, then n is divisible by p − 1), and if 7 ≤ n < 17, then x = 7, or n is divisible by 6 (the only possible n is 12). If b = 12, the digits coprime to 12 are {1, 5, 7, 11}. Since 12 is a primitive root mod 5, so if n ≥ 5, then either 5 divides x (in this case, x = 5, since x ∈ {1, 5, 7, 11}) or |x − y| (in this case, either x = y = 1 (That is, the prime is a repunit) or x = 1, y = 11 or x = 11, y = 1, since x, y ∈ {1, 5, 7, 11}.) or n is a multiple of 5 − 1 = 4. Similarly, since 12 is a primitive root mod 7, so if n ≥ 7, then either 7 divides x (in this case, x = 7, since x ∈ {1, 5, 7, 11}) or |x − y| (in this case, x = y = 1, since x, y ∈ {1, 5, 7, 11}. That is, the prime is a repunit) or n is a multiple of 7 − 1 = 6. Similarly, since 12 is a primitive root mod 17, so if n ≥ 17, then either 17 divides x (not possible, since x ∈ {1, 5, 7, 11}) or |x − y| (in this case, x = y = 1, since x, y ∈ {1, 5, 7, 11}. That is, the prime is a repunit) or n is a multiple of 17 − 1 = 16. Besides, 12 is also a primitive root mod 31, 41, 43, 53, 67, 101, 103, 113, 127, 137, 139, 149, 151, 163, 173, 197, ..., so n ≥ 17 is very impossible (since for this primes p, if n ≥ p, then n is divisible by p − 1), and if 7 ≤ n < 17, then x = 7 (in this case, since 5 does not divide x or x − y, so n must be divisible by 4) or n is divisible by 6 (the only possible n is 12). (Wikipedia).

Video thumbnail

Prime Numbers

"Identify prime numbers."

From playlist Number: Factors, Multiples & Primes

Video thumbnail

Interesting Facts About the Last Digits of Prime Numbers

This video explains some interesting facts about the last digits of prime numbers.

From playlist Mathematics General Interest

Video thumbnail

Why Are There Infinitely Many Prime Numbers?

Here's why there are infinitely many prime numbers!

From playlist Summer of Math Exposition Youtube Videos

Video thumbnail

Prime Numbers and their Mysterious Distribution (Prime Number Theorem)

Primes are the building blocks of math. But just how mysterious are they? Our study of prime numbers dates back to the ancient Greeks who first recognized that certain numbers can't be turned into rectangles, or that they can't be factored into any way. Over the years prime numbers have

From playlist Prime Numbers

Video thumbnail

What is a prime number?

An easy intro to prime numbers and composite numbers that MAKES SENSE. What are prime numbers? A prime number is a number that has exactly 2 factors: two and itself. What are composite numbers? A composite number is one which has two or more factors. What is the difference between a p

From playlist Indicies (Exponents) and Primes

Video thumbnail

What Is A Prime Number?

Introduction to prime numbers for GCSE 9-1 maths!

From playlist Prime Numbers, HCF and LCM - GCSE 9-1 Maths

Video thumbnail

Review: Prime Numbers

via YouTube Capture

From playlist Computation with Integers

Video thumbnail

Algebra - Ch. 6: Factoring (4 of 55) What is a Prime Number?

Visit http://ilectureonline.com for more math and science lectures! In this video I will explain what is a prime number. A prime number is a positive integer that can only be written as a product of one and itself. Its factors are “1” and itself. To donate: http://www.ilectureonline.com/

From playlist ALGEBRA CH 6 FACTORING

Video thumbnail

Ben Green, The anatomy of integers and permutations

2018 Clay Research Conference, CMI at 20

From playlist CMI at 20

Video thumbnail

Konstantin Tikhomirov: Random Graph Matching with Improved Noise Robustness

Graph matching, also known as network alignment, refers to finding a bijection between the vertex sets of two given graphs so as to maximally align their edges. This fundamental computational problem arises frequently in multiple fields such as computer vision and biology. In this work we

From playlist Workshop: High dimensional measures: geometric and probabilistic aspects

Video thumbnail

CTNT 2022 - 100 Years of Chebotarev Density (Lecture 3) - by Keith Conrad

This video is part of a mini-course on "100 Years of Chebotarev Density" that was taught during CTNT 2022, the Connecticut Summer School and Conference in Number Theory. More about CTNT: https://ctnt-summer.math.uconn.edu/

From playlist CTNT 2022 - 100 Years of Chebotarev Density (by Keith Conrad)

Video thumbnail

Introduction to number theory lecture 35 Jacobi symbol

This lecture is part of my Berkeley math 115 course "Introduction to number theory" For the other lectures in the course see https://www.youtube.com/playlist?list=PL8yHsr3EFj53L8sMbzIhhXSAOpuZ1Fov8 We define the Jacobi symbol and prove its basic properties, and show how to calculate it fa

From playlist Introduction to number theory (Berkeley Math 115)

Video thumbnail

Why did they prove this amazing theorem in 200 different ways? Quadratic Reciprocity MASTERCLASS

The longest Mathologer video ever, just shy of an hour (eventually it's going to happen :) One video I've been meaning to make for a long, long time. A Mathologerization of the Law of Quadratic Reciprocity. This is another one of my MASTERCLASS videos. The slide show consists of 550 slides

From playlist Recent videos

Video thumbnail

Theory of numbers: Jacobi symbol

This lecture is part of an online undergraduate course on the theory of numbers. We define the Jacobi symbol as an extension of the Legendre symbol, and show how to use it to calculate the Legendre symbol fast. We also briefly mention the Kronecker symbol. For the other lectures in t

From playlist Theory of numbers

Video thumbnail

22. Ideal Quantum Gases Part 1

MIT 8.333 Statistical Mechanics I: Statistical Mechanics of Particles, Fall 2013 View the complete course: http://ocw.mit.edu/8-333F13 Instructor: Mehran Kardar This is the first of five lectures on Ideal Quantum Gases. License: Creative Commons BY-NC-SA More information at http://ocw.mi

From playlist MIT 8.333 Statistical Mechanics I: Statistical Mechanics of Particles, Fall 2013

Video thumbnail

Miller indices for hexagonal structures. Why and how we use 4 indices.

Miller indices are a super useful way of identifying points, directions, and planes in crystal structures. Miller indices can also denote families of equivalent planes and directions. In non-cubic systems its easy to identify all members of the family by identifying permutations of the mil

From playlist Materials Sciences 101 - Introduction to Materials Science & Engineering 2020

Video thumbnail

(IC 4.11) Optimality of Huffman codes (part 6) - induction

We prove that Huffman codes are optimal. In part 6, we complete the proof by induction. A playlist of these videos is available at: http://www.youtube.com/playlist?list=PLE125425EC837021F

From playlist Information theory and Coding

Video thumbnail

James Mingo: The infinitesimal Weingarten calculus

Talk at the conference "Noncommutative geometry meets topological recursion", August 2021, University of Münster. Abstract: The Weingarten calculus calculates matrix integrals over the unitary and orthogonal groups, in particular their large N behaviour. In this talk we shall look at the W

From playlist Noncommutative geometry meets topological recursion 2021

Video thumbnail

MegaFavNumbers: Plus One Primes, 154,641,337, and 62,784,382,823

My entry in the #MegaFavNumbers series looks at a particularly striking example of a very specific family of primes -- and how it connects to what digits can be the final digit of primes in different bases.

From playlist MegaFavNumbers

Related pages

Permutation | Prime number | Repunit | Radix | Repunit prime | Repdigit | Mersenne prime | Primitive root modulo n | Conjecture | Duodecimal