Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 1.1(i)–(ii) — square positions of 24n+124n+124n+1 and 8n+18n+18n+1

Open
RudinSquares.square_positions_24_1_and_8_1

by LG · Nov 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

arithmetic-progressionsnumber-theorysquares

The square positions of the two extremal progressions are classical figurate sequences (Section 1.1, items (i)–(ii)).

(i) The progression 24n+124n+124n+1 is a square exactly at the generalized pentagonal numbers:

S(24,1)={GPk}k∈Z,GPk=k(3k−1)2.S(24,1)=\{GP_k\}_{k\in\mathbb Z},\qquad GP_k=\frac{k(3k-1)}{2}.S(24,1)={GPk​}k∈Z​,GPk​=2k(3k−1)​.

(ii) The progression 8n+18n+18n+1 is a square exactly at the triangular numbers:

S(8,1)={Tk}k∈N,Tk=k(k+1)2.S(8,1)=\{T_k\}_{k\in\mathbb N},\qquad T_k=\frac{k(k+1)}{2}.S(8,1)={Tk​}k∈N​,Tk​=2k(k+1)​.

These identities explain why 24n+124n+124n+1 and 8n+18n+18n+1 recur as extremal progressions and give the closed form Q(N;24,1)=8N/3+O(1)Q(N;24,1)=\sqrt{8N/3}+O(1)Q(N;24,1)=8N/3​+O(1) used in the strong conjecture.

Preamble
import Mathlib
import Definitions.Def_RudinSquares_Defs
Formal statement
namespace RudinSquares
theorem square_positions_24_1_and_8_1 :
    S 24 1 = {n : ℕ | ∃ k : ℤ, (n : ℤ) = GP k} ∧
    S 8 1 = Set.range T := by sorry
end RudinSquares
Source
E. González-Jiménez and X. Xarles, 'On a conjecture of Rudin on squares in arithmetic progressions', LMS J. Comput. Math. 17(1) (2014) 58–76, doi:10.1112/S1461157013000259, §1.1 (Notation), items (i)–(ii), p. 59.
Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me