Closed-Form Solution for f(n) w/o Generating Fns

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
Tony11235
Messages
254
Reaction score
0
[tex]f(n) = 0, n \leq 2[/tex]

[tex]f(n) = \sqrt{n}f(\sqrt{n}) + n, n > 2[/tex]

How can I get this in closed form? Generating functions won't work. Recuring a number of times hasn't worked out for me. Or can I show that f = O(n*lg(lg(n))), where lg stands for ln(n)/ln(2), without f being in closed form? Sorry for the poor tex skills.
 
Last edited:
Physics news on Phys.org
f(n)= kn for [itex]2^{k}< n \le 2^{k+1}[/itex]
 
HallsofIvy said:
f(n)= kn for [itex]2^{k}< n \le 2^{k+1}[/itex]

Are you serious? This is the closed form I've been struggling all day to find? Could you mention how you arrived at this? Sorry it's not totally obvious to me, I'm really tired.
 
Nevermind. No explanation needed. I'm just really pissed with myself.