Set it up as an AP with common difference 1.Suppose $\displaystyle 100$ is the sum of \(\displaystyle k\) consecutive natural numbers starting at \(\displaystyle a\):
\[a+(a+1)+(a+2)+\cdots+(a+k-1)=100,\qquad a\ge 1,\ k\ge 1.\]
This is an AP with first term \(\displaystyle a\), common difference $\displaystyle 1$ and \(\displaystyle k\) terms, so its sum is
\[\frac{k}{2}\Big[2a+(k-1)\Big]=100\quad\Longrightarrow\quad \boxed{k(2a+k-1)=200}.\]
Two facts cut the search down to almost nothing.Fact $\displaystyle 1$ — one factor must be odd. The numbers \(\displaystyle k\) and \(\displaystyle 2a+k-1\) differ by \(\displaystyle 2a-1\), an odd number, so one of them is even and the other is odd. Since \(\displaystyle 200=2^{3}\times 5^{2}\), the only odd divisors of $\displaystyle 200$ are \(\displaystyle 1,\ 5,\ 25\). So one of \(\displaystyle k\) and \(\displaystyle 2a+k-1\) is $\displaystyle 1$, $\displaystyle 5$ or 25.
Fact $\displaystyle 2$ — \(\displaystyle k\) is the smaller factor. Because \(\displaystyle a\ge 1\),
\[2a+k-1\ \ge\ k+1\ >\ k,\]
so \(\displaystyle k\cdot k<k(2a+k-1)=200\), giving \(\displaystyle k^{2}<200\) and therefore \(\displaystyle k\le 14\).
Check each possibility.If \(\displaystyle k\) is the odd one: \(\displaystyle k\in\{1,5,25\}\), and \(\displaystyle k\le 14\) rules out 25.
\(\displaystyle k=1\): \(\displaystyle 2a+0=200\Rightarrow a=100\). This is just "$\displaystyle 100$" by itself — a single number, not really a sum.
\(\displaystyle k=5\): \(\displaystyle 5(2a+4)=200\Rightarrow 2a+4=40\Rightarrow a=18\). Gives \(\displaystyle 18+19+20+21+22\).
If \(\displaystyle 2a+k-1\) is the odd one: \(\displaystyle 2a+k-1\in\{1,5,25\}\), so \(\displaystyle k=200,\ 40\) or \(\displaystyle 8\); only \(\displaystyle k=8\) satisfies \(\displaystyle k\le 14\).
\(\displaystyle k=8\): \(\displaystyle 2a+7=25\Rightarrow 2a=18\Rightarrow a=9\). Gives \(\displaystyle 9+10+11+12+13+14+15+16\).
Verify both sums.
\[18+19+20+21+22=100\ \checkmark\qquad\text{(five terms averaging }20)\]
\[9+10+11+12+13+14+15+16=\frac{8(9+16)}{2}=4\times 25=100\ \checkmark\]
A quick computer search over all starting values also finds exactly these two (plus the one-term case), which confirms nothing was missed.
There are exactly two ways to write $\displaystyle 100$ as a sum of two or more consecutive natural numbers:
\[100=18+19+20+21+22\]
\[100=9+10+11+12+13+14+15+16\]
(If a "sum" of a single number is allowed, \(\displaystyle 100=100\) is a third, trivial, case.)