题解:P15430 [蓝桥杯 2025 国 Python B] 等差数列计数

· · 题解

核心思路

\sum_{d=1}^{1012} (2025 - 2d) = 1024144 \implies 1024144 \times 2 = 2048288

答案:\boxed{2048288}