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

Are 181818 and 191919 the only integers n>0n>0n>0 for which the prime-axis sum divides the prime-diagonal product in the (2n+1)×(2n+1)(2n+1)\times(2n+1)(2n+1)×(2n+1) Ulam spiral?

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

Let n∈N∖{0}n \in \mathbb{N}\setminus\{0\}n∈N∖{0}, and then consider the (2⋅n+1)×(2⋅n+1)(2 \cdot n+1) \times (2 \cdot n+1)(2⋅n+1)×(2⋅n+1) Ulam spiral (starting with 111 at the center, as usual):

17161514131854312196121120789102122232425.\begin{array}{ccccc} 17&16&15&14&13\\ 18&5&4&3&12\\ 19&6&1&2&11\\ 20&7&8&9&10\\ 21&22&23&24&25 \end{array} \quad.1718192021​1656722​1541823​1432924​1312111025​.

Let S(n)S(n)S(n) denote the sum of the prime entries belonging to the central row and column, and (similarly) let P(n)P(n)P(n) denote the product of the prime entries belonging to the two main diagonals.

For any integer 1≤k≤n1\leq k\leq n1≤k≤n, the four entries of the central row and column at distance kkk from the center are 4⋅k2−3⋅k+14\cdot k^2-3\cdot k+14⋅k2−3⋅k+1, 4⋅k2−k+14\cdot k^2-k+14⋅k2−k+1, 4⋅k2+k+14\cdot k^2+k+14⋅k2+k+1, 4⋅k2+3⋅k+14\cdot k^2+3\cdot k+14⋅k2+3⋅k+1, while the corresponding four diagonal entries are 4⋅k2−2⋅k+14\cdot k^2-2\cdot k+14⋅k2−2⋅k+1, 4⋅k2+14\cdot k^2+14⋅k2+1, 4⋅k2+2⋅k+14\cdot k^2+2\cdot k+14⋅k2+2⋅k+1, 4⋅k2+4⋅k+14\cdot k^2+4\cdot k+14⋅k2+4⋅k+1.

If k>1k>1k>1 is odd, all four central-cross entries are even and greater than 222.

Hence, S(2⋅m)=S(2⋅m+1)S(2\cdot m)=S(2\cdot m+1)S(2⋅m)=S(2⋅m+1) for every m≥1m \geq 1m≥1. Moreover, P(n)∣P(n+1)P(n)\mid P(n+1)P(n)∣P(n+1) for every n≥1n \geq 1n≥1.

Therefore, if 2⋅m2\cdot m2⋅m is a solution of S(n)∣P(n)S(n)\mid P(n)S(n)∣P(n), then 2⋅m+12\cdot m+12⋅m+1 is also a solution.

In particular, (18,19)(18,19)(18,19) is a solution pair. This easily follows by observing that S(18)=S(19)=7683=3⋅13⋅197S(18)=S(19)=7683=3\cdot13\cdot197S(18)=S(19)=7683=3⋅13⋅197 and the three prime factors 333, 131313, and 197197197 occur on the diagonals for k=1,2,7k=1,2,7k=1,2,7, respectively.

Thus, S(18)∣P(18)S(18)\mid P(18)S(18)∣P(18) and, consequently, S(19)∣P(19)S(19)\mid P(19)S(19)∣P(19).

A computational search up to n=106n = 10^6n=106 found no other solutions.

Question. Are 181818 and 191919 the only positive integers nnn such that S(n)∣P(n)S(n)\mid P(n)S(n)∣P(n)?

If not, can we prove that there are only finitely many such nnn?

Statement and context adapted from MathOverflow · Marco Ripà

CC BY-SA 4.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 : Marco Ripà

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : September 11, 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