An Efficient Algorithm for Finding Maximum Salem–Spencer Sets

In this note, we describe an algorithm for finding all maximum-size Salem–Spencer sets (3-AP-free sets) on the interval [1, n]. We provide: the code implementing the algorithm; computed results for n from 6 to N; a comparison with published values; and a proof of completeness (the algorithm does not miss any maximum set) and optimality (each found set has maximum size).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24546481
Primary Topic
Analytic Number Theory Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Efficient Algorithm for Finding Maximum Salem–Spencer Sets

Светлана Матренина
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
article

An Efficient Algorithm for Finding Maximum Salem–Spencer Sets

Светлана Матренина
article en

Abstract

In this note, we describe an algorithm for finding all maximum-size Salem–Spencer sets (3-AP-free sets) on the interval [1, n]. We provide: the code implementing the algorithm; computed results for n from 6 to N; a comparison with published values; and a proof of completeness (the algorithm does not miss any maximum set) and optimality (each found set has maximum size).

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
An Efficient Algorithm for Finding Maximum Salem–Spencer Sets — Светлана Матренина · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS