How to find upper bound for recurrence relation

Click For Summary
SUMMARY

The discussion focuses on finding a tight upper bound for the recurrence relation T(n) = T(n/2) + T(n/3) + c using a recursion tree argument. The challenge arises from the asymmetry of the recursion tree, which complicates the analysis. Participants suggest that for the relation to hold, n must be a multiple of 6, leading to the consideration of sequences like T(6n) and T(36n). The discussion highlights the necessity of defining T(n) for indices that are not multiples of 12 and 18.

PREREQUISITES
  • Understanding of recurrence relations
  • Familiarity with recursion tree analysis
  • Knowledge of number theory, specifically multiples and divisibility
  • Basic concepts of algorithm analysis
NEXT STEPS
  • Study the Master Theorem for solving recurrence relations
  • Explore advanced recursion tree techniques
  • Research the implications of asymmetry in recursion trees
  • Learn about the implications of divisibility in algorithm analysis
USEFUL FOR

Students in computer science, algorithm analysts, and anyone tackling complex recurrence relations in their studies or work.

ciphone
Messages
3
Reaction score
0

Homework Statement


Find a tight upper bound for the recurrence relation using a recursion tree argument

Homework Equations


T(n)=T(n/2)+T(n/3)+c

The Attempt at a Solution


I don't know how to do this problem because the tree doesn't have symmetry. One side of the tree can keep going because of the lack of symmetry plus at the end there is no way that you get T(1). How do you solve this problem using a recursion tree?
 
Physics news on Phys.org
I don't understand.
If one consider that the indexation of sequence ##T(n)## is in ##\mathbb{N}-\{0\}##, then the index ##n## must be a multiple of ##6##, since 2 and 3 are mutually prime divisors of ##n##.

At first sight you must consider a sequence of type ##T(6n) = T(3n) + T(2n) + c ##. But for 6 to divide ##3n## and ##2n##, it must divide ##n##. It leads you to consider the sequence ##T(36n) = T(18n) + T(12n) + c ##.

With that, what sense do you give to ##T(n)## for indexes that are not multiple of 12 and 18 ?
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
5K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K