Prime numbers made of permutations of digits of consecutive positive integers
Statement
I posted this question in MSE some weeks ago and got no answer to any of the questions, so I post it here to see if someone could help.
Following the spirit of this question, I developed a program to check how many permutations of the digits of consecutive positive integers from to were prime numbers (allowing leading zeros). For instance, if we call the set of different permutations of the digits of consecutive positive integers from to , .
For similar reasons to the ones exposed in this partial answer I gave to the question cited, contains no prime number for , as the sum of digits of any permutation in some set is divisible by (and by divisibility criteria it follows that such permutation is divisible by too), and this in turn implies divisibility by of any permutation in some set .
Therefore, I have focused only on the sets . Let us call the subset made of permutations of that are prime numbers. I found that
I have not been able to calculate the cardinality of more sets , as my computer runs …
Posed by Juan Moreno · prime-numbers, permutations
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-409074.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-409074.lean
import Mathlib /-! # Prime numbers made of permutations of digits of consecutive positive integers Source: https://mathoverflow.net/questions/409074 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_409074 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_409074