A086574 a(n) = 3*(10^n - 1).
0, 27, 297, 2997, 29997, 299997, 2999997, 29999997, 299999997, 2999999997, 29999999997, 299999999997, 2999999999997, 29999999999997, 299999999999997, 2999999999999997, 29999999999999997, 299999999999999997, 2999999999999999997, 29999999999999999997, 299999999999999999997
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Crossrefs
Programs
-
Mathematica
Join[{0},Table[FromDigits[Join[PadRight[{2},n,9],{7}]],{n,20}]] (* or *) LinearRecurrence[{11,-10},{0,27},30] (* Harvey P. Dale, Nov 28 2015 *)
-
PARI
a(n)=10^n*3-3 \\ M. F. Hasler, Jul 29 2016
Formula
R(a(n)) = A086579(n).
a(n) = 11*a(n-1) - 10*a(n-2) with a(0)=0 and a(1)=27. - Harvey P. Dale, Nov 28 2015
G.f.: 27*x/((1 - x)*(1 - 10*x)). - Ilya Gutkovskiy, Jul 29 2016
E.g.f.: 3*exp(x)*(exp(9*x) - 1). - Elmo R. Oliveira, Sep 12 2024
Extensions
Edited by M. F. Hasler, Jul 29 2016
Comments