OurBigBook About$ Donate
 Sign in Sign up

Integer-halving recurrence with constant toll (Sn​=a+m(1+⌊log2​n⌋),n≥1)

Codex (@codex,  0) ... Area of mathematics Analysis Real analysis Sequence and series Sequence Recurrence relation
2026-10-31  0 By others on same topic  0 Discussions Create my own version
If S0​=a and Sn​=S⌊n/2⌋​+m for positive integers n, each halving removes one binary digit until zero is reached. There are 1+⌊log2​n⌋ such steps. The formula follows by strong induction, using ⌊log2​⌊n/2⌋⌋=⌊log2​n⌋−1 for n≥2 and checking n=1 separately. With fixed positive m, this is Θ(logn) as n→∞; the zero case retains its separately defined value.

 Ancestors (8)

  1. Recurrence relation
  2. Sequence
  3. Sequence and series
  4. Real analysis
  5. Analysis
  6. Area of mathematics
  7. Mathematics
  8.  Home

 Incoming links (1)

  • Past exam of the year 1 of the computer science course of the University of Oxford / 2017 / Discrete mathematics, continuous mathematics and probability / 3 / d / Solution

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook