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