OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..40
FORMULA
Prod_{k=1}^{n} (q^k - 1) / (q - 1).
a(1) = 1, a(n) = ((-10)^n - 1)*a(n-1)/(-11). - Vincenzo Librandi, Oct 26 2012
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==(((-10)^n - 1) * a[n-1])/(-11)}, a, {n, 15}] (* Vincenzo Librandi, Oct 26 2012 *)
PROG
(Magma) [n le 1 select 1 else ((-10)^n - 1)*Self(n-1)/(-11): n in [1..13]]; // Vincenzo Librandi, Oct 26 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved