login
A016187
Expansion of 1/((1-8x)(1-11x)).
1
1, 19, 273, 3515, 42761, 503139, 5796673, 65860555, 741243321, 8287894259, 92240578673, 1023236299995, 11324318776681, 125117262357379, 1380687932442273, 15222751628953835, 167731742895202841
OFFSET
0,2
FORMULA
a(n) = (11^(n+1) - 8^(n+1))/3. - Lambert Klasen (lambert.klasen(AT)gmx.net), Feb 05 2005
a(n) = 11*a(n-1) + 8^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011
a(n) = 19*a(n-1) - 88*a(n-2), a(0)=1, a(1)=19. - Vincenzo Librandi, Feb 09 2011
MATHEMATICA
Join[{a=1, b=19}, Table[c=19*b-88*a; a=b; b=c, {n, 40}]] (* Vladimir Joseph Stephan Orlovsky, Feb 14 2011 *)
PROG
(PARI) for(n=1, 10, print1((11^n-8^n)/3, ", "))
(PARI) MM(n, N) = local(M); M=matrix(n, n); for(i=1, n, for(j=1, n, if(i==j, M[i, j]=N, M[i, j]=1))); M
for(i=1, 10, print1((MM(3, 9)^i)[1, 2], ", "))
CROSSREFS
Sequence in context: A016248 A322539 A199819 * A016184 A197742 A322628
KEYWORD
nonn,easy
STATUS
approved