Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Permutations of the set {1,2,...,n}\{1,2,...,n\}{1,2,...,n} and prime numbers

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Here is the version of this question that I posted on math.stackexchange a few days ago and I did not receive an answer that settles my question so I thought that maybe on this site I could get a complete answer.

First, I would like to say that I am aware of the extremely similar question of the user @David S. Newman posted here a few hours ago and also I would like to note why this is not a duplicate of that question and what are the (small) differences.

In the question by @David S. Newman he also considers the first and the last element of the permutation of the set {1,2,...,n}\{1,2,...,n\}{1,2,...,n} as adjacent so every permutation that works in his case works also in my case but it could be that there are permutations that work in my case but do not work in his case.

Another difference from my and his question is that for my question the permutations of the set {1,2,...,2n+1}\{1,2,...,2n+1\}{1,2,...,2n+1} with an odd number of elements can exist and in his case cannot exist because elements must follow either the pattern "odd,even,odd,...,odd" or the pattern "even,odd,even,...,even" so the sum of the first and last element will be even number strictly greater than 222.

Also, another difference is that I ask for the existence of infinite number of natural numbers for which permutation where adjacent elements have prime sum exist and he asks "for which nnn" permutation where adjacent elements (+ the sum of the first and last element) have prime sum exist.

I will state the question here:

Is it true that there exists some infinite set {ni:i∈N}\{n_i:i \in \mathbb N\}{ni​:i∈N}, a subset of the set of natural numbers, such that every set of these sets {{1,2,...,ni}:i∈N}\{\{1,2,...,n_i\}:i \in \mathbb N\}{{1,2,...,ni​}:i∈N} can be permuted in at least one way to obtain a set that has the property that the sum of every two adjacent numbers is a prime number

I can give an example for n=6n=6n=6, the same that I gave on math.stackexchange. If we permute {1,2,3,4,5,6}\{1,2,3,4,5,6\}{1,2,3,4,5,6} in this way {1,4,3,2,5,6}\{1,4,3,2,5,6\}{1,4,3,2,5,6} we have that every two adjacent elements sum to a prime number because we have 1+4=51+4=51+4=5 and 4+3=74+3=74+3=7 and 3+2=53+2=53+2=5 and 2+5=72+5=72+5=7 and 5+6=115+6=115+6=11.

It is easy to see that if an infinite number of twin primes exist then my question has an affirmative answer (as it is stated in the answer to my question on math.stackexchange) but I would like to see this question settled in a way that does not depend on unproven conjectures.

Here is the number of such permutations for some values of nnn.

Statement and context adapted from MathOverflow · Farewell

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · prime-numbers

Authors listed by the source : Farewell

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : October 6, 2016

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni