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

Computing sums with linear conditions quickly

Theoretical computer science

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 f:{1,…,N}→Cf:\{1,\dotsc,N\}\to \mathbb{C}f:{1,…,N}→C, β:{1,…,N}→[0,1]\beta:\{1,\dotsc,N\}\to [0,1]β:{1,…,N}→[0,1] be given by tables (or, what is basically the same, assume their values can be computed in constant time). For 0≤γ0≤10\leq \gamma_0\leq 10≤γ0​≤1, 0≤γ1≤1/N0\leq \gamma_1\leq 1/N0≤γ1​≤1/N, define F(γ0,γ1)=∑βn≤γ0+γ1n1≤n≤Nf(n).F(\gamma_0,\gamma_1) = \sum_{\stackrel{1\leq n\leq N}{\beta_n\leq \gamma_0+\gamma_1 n}} f(n).F(γ0​,γ1​)=∑βn​≤γ0​+γ1​n1≤n≤N​​f(n).

Write O~(N)\tilde{O}(N)O~(N) for "roughly O(N)O(N)O(N)", e.g., O(N(log⁡N)O(1))O(N (\log N)^{O(1)})O(N(logN)O(1)).

Question 1. Is it possible to spend O~(N)\tilde{O}(N)O~(N) time in some preparatory computations and then be able to compute F(γ0,γ1)F(\gamma_0,\gamma_1)F(γ0​,γ1​) for any given γ0,γ1\gamma_0,\gamma_1γ0​,γ1​ as above in time O~(1)\tilde{O}(1)O~(1)?

(This would be the case if all it took were some initial sorting and/or FFT and/or what have you. One can clearly do this for the special cases F(γ0,0)F(\gamma_0,0)F(γ0​,0) and F(0,γ1)F(0,\gamma_1)F(0,γ1​). That's weak reason for hope; I expect the answer to be most likely "no", though I have no idea of how one would prove it.)

Question 2. What about computing {F(am,m/N2)}1≤m≤N\{F(a_m,m/N^2)\}_{1\leq m\leq N}{F(am​,m/N2)}1≤m≤N​ for some given sequence {am}1≤n≤N\{a_m\}_{1\leq n\leq N}{am​}1≤n≤N​, 0≤am≤10\leq a_m\leq 10≤am​≤1? Can that be done in time O~(N)\tilde{O}(N)O~(N)?

A "yes" answer to Q1 would obviously imply a "yes" answer to Q2.

An informal description of this problem:

We start with a row of people of different heights on a horizontal platform, with each person nnn having a certain number of dinars f(n)f(n)f(n). We can ask ourselves how many dinars people with their heads under the water would have in total, for water level =a0=a_0=a0​. Then we start to slowly tilt the platform, and ask ourselves: what happens for slope =1/N2=1/N^2=1/N2 and water level =a1=a_1=a1​, for slope =2/N2=2/N^2=2/N2 and water level =a2=a_2=a2​,..., and so up to slope =1/N=1/N=1/N and water level =aN=a_N=aN​? Can that be done in time O~(N)\tilde{O}(N)O~(N)?

(People here are holding their breath, not dying!)

Statement and context adapted from MathOverflow · H A Helfgott

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

Topics : algorithms · sequences-and-series · fourier-analysis · computational-geometry · convolution

Authors listed by the source : H A Helfgott

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 6, 2023

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