login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A099674
Partial sums of repdigits of A002281.
1
7, 84, 861, 8638, 86415, 864192, 8641969, 86419746, 864197523, 8641975300, 86419753077, 864197530854, 8641975308631, 86419753086408, 864197530864185, 8641975308641962, 86419753086419739, 864197530864197516
OFFSET
1,1
FORMULA
a(n) = (7/81)*(10^(n+1) - 9*n - 10). - R. Piyo (nagoya314(AT)yahoo.com), Dec 10 2004
EXAMPLE
7 + 77 + 777 + 7777 + 77777 = a(5) = 86415.
MATHEMATICA
<<NumberTheory`NumberTheoryFunctions` Table[{k, Table[Apply[Plus, Table[k*(10^n-1)/9, {n, 1, m}]], {m, 1, 35}]}, {k, 1, 9}]
Table[8/9*Sum[10^i - 1, {i, n}], {n, 18}] (* Robert G. Wilson v, Nov 20 2004 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved