How Many Recursions Needed to Reach k?

  • Thread starter Thread starter flying2000
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the recursive function T(n) defined as T(0) = 1 and T(n) = T(n-1) + √(T(n-1)). Participants seek to determine the number of recursions required for T(n) to reach a specified value k. The relationship between k and the recursion count m is established as √(k) < m < c√(k), where c is a constant. However, the lack of a defined value for k prevents a definitive answer from being provided.

PREREQUISITES
  • Understanding of recursive functions and their growth patterns
  • Familiarity with mathematical notation and concepts such as square roots
  • Basic knowledge of algorithm analysis
  • Experience with programming languages that support recursion, such as Python or Java
NEXT STEPS
  • Research the growth rates of recursive functions in algorithm analysis
  • Study the implications of constant factors in recursive function growth
  • Learn about the Master Theorem for analyzing recursive algorithms
  • Explore practical implementations of recursive functions in programming
USEFUL FOR

This discussion is beneficial for mathematicians, computer scientists, and software developers interested in algorithm design and analysis, particularly those focusing on recursive algorithms and their performance characteristics.

flying2000
Messages
40
Reaction score
0
Suppoese

T(0) = 1
T(n) = T(n-1) + root(T(n-1))

how many recursion does T(n) need to grow to the number k?
can I get this? root(k) < m < c root(k)
c is constant and m is the times we need for T(n) goes to k.

Any help appreciated!
 
Physics news on Phys.org
flying2000 said:
Suppoese
T(0) = 1
T(n) = T(n-1) + root(T(n-1))
how many recursion does T(n) need to grow to the number k?
can I get this? root(k) < m < c root(k)
c is constant and m is the times we need for T(n) goes to k.
Any help appreciated!

Since you haven't said what what "k" is there is no way to answer this.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
1K