Jump to content

Talk:Dirichlet hyperbola method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]