OFFSET
1,2
LINKS
FORMULA
a(n) = 5*(7^(n-1)-1)/6 = 5*A023000(n-1).
a(n) = 7*a(n-1) + 5 for n > 1. - Vincenzo Librandi, Sep 30 2010
G.f.: 5*x^2 / ( (7*x-1)*(x-1) ). - R. J. Mathar, Sep 30 2013
EXAMPLE
Base 7.............decimal
0........................0
5........................5
55......................40
555....................285
5555..................2000
55555................14005
555555...............98040
5555555.............686285
55555555...........4804000
555555555.........33628005
etc....................etc...
MAPLE
seq(5*(7^n-1)/6, n=0..21);
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zerinvary Lajos, Feb 02 2007
STATUS
approved