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

  • Home
  • SEARCH
  • 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 7884355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:46:38+00:00 2026-06-03T04:46:38+00:00

I have an algorithm, and I need to calculate its complexity. I’m close to

  • 0

I have an algorithm, and I need to calculate its complexity. I’m close to the answer but I have a little math problem: what is the summation formula of the series

½(n4+n3) where the pattern of n is 1, 2, 4, 8, … so the series becomes:

½(14+13) + ½(24+23) + ½(44+43) + ½(84+83) + …

  • 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-03T04:46:39+00:00Added an answer on June 3, 2026 at 4:46 am

    It might help to express n as 2^k for k=0,1,2…

    Substitute that into your original formula to get terms of the form (16^k + 8^k)/2.

    You can break this up into two separate sums (one with base 16 and one with base 8),
    each of which is a geometric series.

    S1 = 1/2(16^0 + 16^1 + 16^2 + …)

    S2 = 1/2(8^0 + 8^1 + 8^2 + …)

    The J-th partial sum of a geometric series is a(1-r^J)/(1-r) where a is the initial
    value and r the ratio between successive terms. For S1, a=1/2, r=16. For S2, a=1/2,
    r=8.

    Multiply it out and I believe you will find that the sum of the first J terms is O(16^J).

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

Sidebar

Related Questions

I have the need to perform algorithms on various primitive types; the algorithm is
Does anyone have a good algorithm to calculate what date Good Friday falls on
I there! I have a problem with an openssl generated smime file. I need
I have a list of Vector3 points in c#, and I need to calculate
Here is my problem: I have a bunch of circles that I need to
I have a spreadsheet of addresses and I need to calculate the distance between
So, I have this algorithm to calculate cross-section of 3D shape with plane given
i'm implementing Apriori algorithm. and i need to calculate the combination of a list
I am faced with a problem where I have to calculate intersections between all
I have polygons defined with their vertices's, and i need to calculate areas of

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.