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

Permutation {ai}02N\{a_i\}_0^{2N}{ai​}02N​ of {−N,⋯ ,N}\{-N,\cdots,N\}{−N,⋯,N} exists for all NNN with ai2−4ai−1ai+1∈Z\sqrt{a_i^2-4a_{i-1}a_{i+1}}\in\mathbb Zai2​−4ai−1​ai+1​​∈Z for all 0<i<2N0<i<2N0<i<2N?

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

Crosspost: Math.SE.

This is somewhat generalization of square-sum problem. We researched permutation with its two or three adjacent terms satisfy certain condition.

Original problem, equivalent with problem in title suggested by my friend was as below:

Are there exists rearrangement of −N,−N+1,⋯ ,N−1,N-N,-N+1,\cdots,N-1,N−N,−N+1,⋯,N−1,N exists as a1,⋯ ,a2N+1a_1,\cdots,a_{2N+1}a1​,⋯,a2N+1​ with ai−2x2+ai−1x+ai=0a_{i-2}x^2+a_{i-1}x+a_i=0ai−2​x2+ai−1​x+ai​=0 has rational root for all 3≤i≤2N+13\le i\le 2N+13≤i≤2N+1? If not, then what is the smallest value of NNN?

Via bruteforcing we get that rearrangement aaa exists for small N<7N<7N<7. And through the following observation, we were able to search for whether the rearrangement satisfies above restrict exists for larger NNN in a more efficient way: Assume that ∣b1∣,⋯ ,∣bN∣|b_1|,\cdots,|b_N|∣b1​∣,⋯,∣bN​∣ are rearrangement of 1,⋯ ,N1,\cdots,N1,⋯,N and bi−2x2+bi−1x+bi=0b_{i-2}x^2+b_{i-1}x+b_i=0bi−2​x2+bi−1​x+bi​=0 has rational root for all 3≤i≤N3\le i\le N3≤i≤N. Then b1,b2,⋯ ,bN,0,−bN,⋯ ,−b2,−b1b_1,b_2,\cdots,b_N,0,-b_N,\cdots,-b_2,-b_1b1​,b2​,⋯,bN​,0,−bN​,⋯,−b2​,−b1​ is rearrangement what we want.

This is a fairly obvious observation, but by drastically reducing the search range, we were able to explore whether all rearrangements up to N=35N=35N=35 in reasonable time exist.

The code in the following link was written by another friend of mine, reflecting the observation above. [LINK]

I hope you understand that I am attaching the code as a link because author of that code is not me. As you can see by running it yourself, the desired arrangement exists up to N=35N=35N=35.

My friends and I, who attempted to solve this problem, predict that if NNN does not have a rearrangement aaa, then NNN is significantly large, or that a rearrangement exists for all NNN. However, we failed to prove this or find a specific counterexample.

Therefore, I am asking for your help. Any kind of help is fine: advice on how to approach this problem, more advanced observations and rearrangement generation code reflecting those observations, and so on.

First seven example for bbb as above observation(that is, a=b+[0]+reversed⁡(−b)a = b+[0]+\operatorname{reversed}(-b)a=b+[0]+reversed(−b)) is as follows:

  • N=1N=1N=1: [1][1][1]

  • N=2N=2N=2: [2,1][2, 1][2,1]

  • N=3N=3N=3: [1,3,2][1, 3, 2][1,3,2]

  • N=4N=4N=4: [−4,1,3,2][-4 , 1, 3, 2][−4,1,3,2]

  • N=5N=5N=5: [−4,1,3,2,−5][-4, 1, 3, 2, -5][−4,1,3,2,−5]

  • N=6N=6N=6: [6,5,−4,−1,3,−2][6, 5, -4, -1, 3, -2][6,5,−4,−1,3,−2]

  • N=7N=7N=7: [6,5,1,−4,3,7,2][6, 5, 1, -4, 3, 7, 2][6,5,1,−4,3,7,2]

Edit

This is similar problem posted in meta.codegolf.SE. In that post, there are 136136136 permutation cnc_ncn​ of 1,2,⋯ ,151,2,\cdots,151,2,⋯,15 with one of ci+12±4cici+2c_{i+1}^2\pm 4c_ic_{i+2}ci+12​±4ci​ci+2​ is square for all 1≤i≤131\le i\le 131≤i≤13.

Moreover, we found that permutation until N=76N=76N=76, and there are at least two such permutation aaa for N=70N=70N=70:

[30, 59, 22, -37, 15, 52, -11, -63, -40, 12, 28, 8, -3, -26,
-16, 10, 51, -61, 18, 43, -5, -48, 53, -14, -39, 68, -29, -70,
-41, 65, 34, -24, -58, 57, 1, -56, 55, 9, -64, 60, 4, -17, -50,
67, 46, -21, -25, -6, 31, -38, 7, 13, -54, 45, 36, -32, -33,
62, 35, -27, -44, 20, 69, 49, 2, -47, 66, -19, -42, -23, 0,
23, 42, 19, -66, 47, -2, -49, -69, -20, 44, 27, -35, -62, 33,
32, -36, -45, 54, -13, -7, 38, -31, 6, 25, 21, -46, -67, 50,
17, -4, -60, 64, -9, -55, 56, -1, -57, 58, 24, -34, -65, 41,
70, 29, -68, 39, 14, -53, 48, 5, -43, -18, 61, -51, -10, 16,
26, 3, -8, -28, -12, 40, 63, 11, -52, -15, 37, -22, -59, -30]

[68, 9, -59, 30, 29, -45, -26, 8, 34, 33, -1, -60, 61, -14, -47,
36, 11, -25, -24, 49, -15, -64, 23, 41, -10, -31, -22, 53, 5, -58,
-63, 46, 65, 21, -44, -57, 62, 55, -43, 6, 37, 50, -48, -2, 13, 7,
-38, 51, -16, -67, -70, -3, 27, 66, 35, 4, -39, 56, -17, -28, 69,
19, -18, -40, 42, 54, 12, -32, 20, 52, 0, -52, -20, 32, -12, -54,
-42, 40, 18, -19, -69, 28, 17, -56, 39, -4, -35, -66, -27, 3, 70,
67, 16, -51, 38, -7, -13, 2, 48, -50, -37, -6, 43, -55, -62, 57, 44,
-21, -65, -46, 63, 58, -5, -53, 22, 31, 10, -41, -23, 64, 15, -49,
24, 25, -11, -36, 47, 14, -61, 60, 1, -33, -34, -8, 26, 45, -29,
-30, 59, -9, -68]

Statement and context adapted from MathOverflow · Myungheon Lee

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

Topics : nt.number-theory · sequences-and-series

Authors listed by the source : Myungheon Lee

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : August 28, 2026

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