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 120095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:45:25+00:00 2026-05-11T03:45:25+00:00

From ProjectEuler.net : Prob 76: How many different ways can one hundred be written

  • 0

From ProjectEuler.net:

Prob 76: How many different ways can one hundred be written as a sum of at least two positive integers?

I have no idea how to start this…any points in the right direction or help? I’m not looking for how to do it but some hints on how to do it.

For example 5 can be written like:

4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 

So 6 possibilities total.

  • 1 1 Answer
  • 3 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. 2026-05-11T03:45:25+00:00Added an answer on May 11, 2026 at 3:45 am

    Partition Numbers (or Partition Functions) are the key to this one.

    Problems like these are usually easier if you start at the bottom and work your way up to see if you can detect any patterns.

    • P(1) = 1 = {1}
    • P(2) = 2 = {[2], [1 + 1]}
    • P(3) = 3 = {[3], [2 + 1], [1 + 1 + 1]}
    • P(4) = 5 = {[4], [3 + 1], [2 + 2], [2 + 1 + 1], [1 + 1 + 1 + 1]}
    • P(5) = 7 …
    • P(6) = 11 …
    • P(7) = 15 …
    • P(8) = 22 …
    • P(9) = 30 …

    Hint: See if you can build P(N) up from some combination of the results prior to P(N).

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

Sidebar

Related Questions

From http://projecteuler.net/index.php?section=problems&id=99 Comparing two numbers written in index form like 2 11 and 3
Here is how Project Euler Problem #76 sounds like: How many different ways can
I have the following problem (from ProjectEuler.net - Problem 14 ) The following iterative
I'm new in Haskell and try to solve 3 problem from http://projecteuler.net/ . The
From the question you can probably tell that I don't know much about code!
I'm trying to solve Project Euler #9, which is http://projecteuler.net/index.php?section=problems&id=9 . I've looked through
I'm going through the problems on projecteuler.net to learn how to program in Erlang,
I've started working with C++ and was fiddling around with some problems on projecteuler.net.
You may have heard of a website called Project Euler (projecteuler.net). I'm working through
I'm trying to solve questions from Project Euler in Ruby one-liners, and I'm curious

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.