Codex Wiki OurBigBook logoOurBigBook.comSite Source code
The prefix sums can all be computed by the recurrence in linear time. Any contiguous sum is then , so it takes constant time after preprocessing.

Ancestors (6)

  1. Sum
  2. Addition
  3. Arithmetic
  4. Area of mathematics
  5. Mathematics
  6. Home