login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A247842 Sum(9^k, k=2..n). 2
0, 81, 810, 7371, 66420, 597861, 5380830, 48427551, 435848040, 3922632441, 35303692050, 317733228531, 2859599056860, 25736391511821, 231627523606470, 2084647712458311, 18761829412124880, 168856464709124001, 1519708182382116090, 13677373641439044891 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

Index entries for linear recurrences with constant coefficients, signature (10,-9).

FORMULA

G.f.: 81*x^2/((1-x)*(1-9*x)).

a(n) = a(n-1) + 9^n = (9^(n+1) - 81)/8 = 10*a(n-1) - 9*a(n-2).

a(n) = A052386(n) - 9. - Michel Marcus, Sep 25 2014

MAPLE

A247842:=n->add(9^k, k=2..n): seq(A247842(n), n=1..30); # Wesley Ivan Hurt, Sep 26 2014

MATHEMATICA

RecurrenceTable[{a[1] == 0, a[n] == a[n-1] + 9^n}, a, {n, 30}] (* or *) CoefficientList[Series[81 x / ((1 - x) (1 - 9 x)), {x, 0, 30}], x]

PROG

(MAGMA) [0] cat [&+[9^k: k in [2..n]]: n in [2..30]]; /* or */ [(9^(n+1)-81)/8: n in [1..30]];

CROSSREFS

Cf. similar sequences listed in A247817.

Cf. A052386.

Sequence in context: A206086 A224002 A253461 * A273233 A045792 A067478

Adjacent sequences:  A247839 A247840 A247841 * A247843 A247844 A247845

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Sep 25 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 28 16:39 EDT 2021. Contains 346335 sequences. (Running on oeis4.)