Jump to content

Talk:Dirichlet hyperbola method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Wqwt (talk | contribs) at 22:33, 29 July 2024 (Optimal splitting point: new section). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Optimal splitting point

[edit]

In many cases, the sum can be computed sublinearly. Splitting at sqrt(n) gives O(n^3/4), splitting optimally in O(n^2/3) time.

https://codeforces.com/blog/entry/117635 Wqwt (talk) 22:33, 29 July 2024 (UTC)[reply]