OFFSET
0,3
LINKS
FORMULA
a(n) = Product_{k=1..n} (9^k - 1) / (9 - 1).
a(0) = 1, a(n) = (9^n - 1)*a(n-1)/8. - Vincenzo Librandi, Oct 26 2012
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==((9^n - 1) * a[n-1])/8}, a, {n, 15}] (* Vincenzo Librandi, Oct 26 2012 *)
Table[QFactorial[n, 9], {n, 15}] (* Bruno Berselli, Aug 14 2013 *)
PROG
(Magma) [n le 1 select 1 else (9^n - 1)*Self(n-1)/8: n in [1..15]]; // Vincenzo Librandi, Oct 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Sep 08 2021
STATUS
approved