P76
projecteuler.net

Counting Summations

ℹ️Published on Friday, 13th August 2004, 06:00 pm; Solved by 31570;
Difficulty rating: 10%

It is possible to write five as a sum in exactly six different ways:

\begin{align} &4 + 1\\ &3 + 2\\ &3 + 1 + 1\\ &2 + 2 + 1\\ &2 + 1 + 1 + 1\\ &1 + 1 + 1 + 1 + 1 \end{align}

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



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.