求 50 到 500 之間所有能被 7 整除的整數的和。
已知
要求
我們需要找到所有
解答
50 到 500 之間能被 7 整除的整數為 \( 56,63,70, \ldots, 497 \)。
這個序列是一個等差數列。
這裡,
\( a=56 \) 且 \( d=63-56=7 \) \( l=497 \)
我們知道,
$l=a+(n-1) d$
$\Rightarrow 497=56+(n-1) \times 7$
$\Rightarrow 497=56+7n-7$
$\Rightarrow 497-49=7 n$
$\Rightarrow n=\frac{448}{7}=64$
$\therefore n=64$
$\mathrm{S}_{n}=\frac{n}{2}[2 a+(n-1) d]$
$=\frac{64}{2}[2 \times 56+(64-1) \times 7]$
$=32[112+63 \times 7]$
$=32(112+441)$
$=32 \times 553$
$=17696$
50 到 500 之間所有能被 7 整除的整數的和為 $17696$。
廣告