Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8070153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:18:52+00:00 2026-06-05T13:18:52+00:00

I am struggling to solve this equation. I concluded that the Master Theorem does

  • 0

I am struggling to solve this equation. I concluded that the Master Theorem does not apply in this situation so I tried to successively substitute the terms in order to solve this equation but cannot proceed. Could somebody tell me what would be the best way to solve this?

Thanx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:18:57+00:00Added an answer on June 5, 2026 at 1:18 pm

    As you deduced we can’t use the master theorem because of failure of a condition in case three.

    but for a start we have n^(log_b a) = n(log_2 2) = n

    now n < n* log(log(n))

    So the contribution of the recursion term 2T(n/2) keeps on decreasing, as compared to the other term n*(log(log n))….Hence we can forget that term for now…

    Now consider the term n(log(log n))

    Expanding the recurrence but we give importance to this term, we have,

    T(n) = 2^k * T(n/2^k) + n [ log(log(n/2^(k-1))) + log(log(n/2^(k-2)) ….. ]

    putting 2^k as n we have,

    T(n) = ignore first term + n [ log(log(2)) + log(log(4)) +…..+ log(log(2^(k-1))) ]

    T(n) = ignore first term + n [ log(1) + log(2) + log(3) +……+ log(k-1) ]

    T(n) = ignore first term + n [ log((k-1)!) ]

    We just need an upper bound, hence we can make use of Stirling’s approxiamation,

    n! < (n/e)^n

    hence (k-1)! ~ ((k-1)/e)^(k-1)

    hence log((k-1)!) = (k-1)[(log(k-1) – log (e)]

    but k = log n => [ log((k-1)!) ] = (log(n) – 1) [log(log(n)-1 – log(e)]

    hence our term n [ log((k-1)!) ] = n*log(n)*log(log(n)) and some lower order terms which we can ignore..

    Hence answer is: O(n*log(n)*log(log(n)))

    PS: I am not sure of this answer, do check and tell if I have made some errors!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a problem I've been struggling to solve for a while. I need
This is a problem iv encountered and tried most of the solutions that i
this may be a simple question but am struggling to understand how to solve
i 've been struggling for days on this thing....but to no avail. I'm not
I've been struggling to solve this memory leak for awhile now, so I'm hoping
I've been struggling with this for a while now, and I see that I'm
I've got a small problem I'm struggling to solve. Let's say I've got an
Been struggling with this simple selector problem a couple of hours now and must
im struggling with syntax here: hopefully this question is v simple, im just miising
Really struggling to figure this out. Just trying to take in data from php

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.