login
A094117
Partial sums of A093349.
0
0, 1, 1, 2, 2, 3, 3, 10, 16, 23, 29, 36, 42, 49, 49, 50, 50, 51, 51, 52, 52, 59, 65, 72, 78, 85, 91, 98, 98, 99, 99, 100, 100, 101, 101, 108, 114, 121, 127, 134, 140, 147, 147, 148, 148, 149, 149, 150, 150, 199, 247, 296, 344, 393, 441, 490, 532, 575, 617, 660, 702, 745
OFFSET
1,4
FORMULA
a(7^k)=(49^k-1)/16
PROG
(PARI) a(n)=sum(k=1, n, -sum(i=1, k-1, (-1)^i*7^valuation(i, 7)))
CROSSREFS
Sequence in context: A360250 A095060 A319628 * A097365 A156906 A216245
KEYWORD
nonn
AUTHOR
Benoit Cloitre, May 03 2004
STATUS
approved