>>200
1+2+…+nは何桁の整数かを算出する
Wolframでソルバーを作成

solve[n_] := 1+Floor@Log[10,Sum[x,{x,1,n}]]
solve[2024]
で答がでる。

Wolfram用練習問題
1+2+…+2024!は何桁の整数かを算出せよ。