Skip to main content
QUICK REVIEW

[Paper Review] Computing bounded solutions to linear Diophantine equations with the sum of divisors

Max A. Alekseyev|arXiv (Cornell University)|Jan 25, 2026
Polynomial and algebraic computationComputer Science0 citations
TL;DR

The paper presents an efficient recursive, tree-based method to find all n ≤ U solving a σ(n) equation aσ(n) = bn + c, with a, b, c integers, implemented in SageMath and parallelized via MapReduce.

ABSTRACT

We propose an efficient computational method for finding all solutions $n\leq U$ to the Diophantine equation $aσ(n) = bn + c$, where integer coefficient $a,b,c$ and an upper bound $U$ are given. Our method is implemented in SageMath computer algebra system within the framework of recursively enumerated sets and natively benefits from MapReduce parallelization. We used it to discover new solutions to many published equations and close gaps in between the known large solutions, including but not limited to hyperperfect and $f$-perfect numbers, as well as to significantly lift the existence bounds in open questions about quasiperfect and almost-perfect numbers.

Motivation & Objective

  • Develop an efficient computational method to find all solutions n ≤ U to aσ(n) = bn + c for given integers a, b, c with gcd(a,b,c)=1.
  • Represent and traverse the search space of integers up to U as a rooted tree to enable efficient pruning and solution discovery.
  • Leverage shortcuts, prime wheels, and pruning to reduce the traversal workload while handling special cases (e.g., odd σ(n), gcd scenarios).
  • Provide a SageMath implementation with RES framework enabling MapReduce parallelization and configurable constraints for targeted searches.

Proposed method

  • Represent integers n ≤ U as a tree T_U rooted at 1, where children are formed by multiplying by prime powers with constraints on the largest prime factor.
  • Perform restricted depth-first traversal of T_U with shortcuts that directly yield solutions when n′ has at most two prime factors or is a single prime power.
  • Introduce a prime wheel to maintain feasible prime powers for n′ and to bound σ(n′)/n′ using theoretical inequalities, guiding pruning decisions.
  • Handle cases where gcd(a′, c′) > 1 by selective jumping with prime powers derived from g = gcd(a′, c′) and propagating lower bounds l_p for spf(n′).
  • Incorporate case distinctions for odd σ, edge cases where a′ or b′ + c′ are odd, and use Legendre symbol tests to prune impossible exponents.
  • Implement via SageMath RES framework, with reduce_abc() for configuration simplification, MapReduce parallelization, and optional referencing to OEIS cores.

Experimental results

Research questions

  • RQ1Can a recursive, tree-based search find all n ≤ U solving aσ(n) = bn + c efficiently for general a, b, c?
  • RQ2How effective are the shortcuts and prime-wheel pruning in reducing search space across various coefficient choices?
  • RQ3What are the practical performance and scalability benefits of implementing the method in SageMath with MapReduce for large U?
  • RQ4How does the method handle special cases such as odd σ, gcd constraints, and potential solutions above U?
  • RQ5Can the approach extend to related multiplicative functions beyond σ(n)?

Key findings

  • The method discovers new solutions and tightens bounds for several σ(n) equations, including quasiperfect and almost-perfect numbers.
  • It lifts known existence bounds for quasiperfect and odd almost-perfect numbers, e.g., quasiperfect numbers below 10^45 and odd almost-perfect below 10^47 in cited runs.
  • The approach yields large-term discoveries for hyperperfect and f-perfect number families, including previously unknown terms, and places known terms within larger search ranges.
  • The implementation demonstrates practical efficiency with core-hours reporting across a variety of abundance targets and OEIS sequences.
  • Parallelization via MapReduce on multiple cores substantially speeds up computations, though performance depends on coefficients and hardware limits.
  • The authors provide a public SageMath implementation (sigma_linear_eq.sage) and discuss extensibility to other multiplicative functions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.