A094116 Partial sums of A093348.
0, 1, 1, 2, 2, 7, 11, 16, 20, 25, 25, 26, 26, 27, 27, 32, 36, 41, 45, 50, 50, 51, 51, 52, 52, 77, 101, 126, 150, 175, 195, 216, 236, 257, 277, 302, 326, 351, 375, 400, 420, 441, 461, 482, 502, 527, 551, 576, 600, 625, 625, 626, 626, 627, 627, 632, 636, 641, 645, 650
Offset: 1
Keywords
Programs
-
PARI
a(n)=sum(k=1,n,-sum(i=1,k-1,(-1)^i*5^valuation(i,5)))
Formula
a(5^k)=(25^k-1)/12
Comments