A024129 11^n-n^2.
1, 10, 117, 1322, 14625, 161026, 1771525, 19487122, 214358817, 2357947610, 25937424501, 285311670490, 3138428376577, 34522712143762, 379749833583045, 4177248169415426, 45949729863571905, 505447028499293482
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..300
- Index entries for linear recurrences with constant coefficients, signature (14,-36,34,-11).
Crossrefs
Cf. similar sequences listed in A024025.
Programs
-
Magma
[11^n-n^2: n in [0..20]]; // Vincenzo Librandi, Jul 01 2011
-
Mathematica
Table[11^n - n^2, {n, 0, 25}] (* or *) CoefficientList[Series[(1 - 4 x + 13 x^2 + 10 x^3)/((1 - 11 x) (1 - x)^3), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 06 2014 *) LinearRecurrence[{14,-36,34,-11},{1,10,117,1322},20] (* Harvey P. Dale, Jul 03 2021 *)
-
PARI
a(n)=11^n-n^2 \\ Charles R Greathouse IV, Jul 01 2011
Formula
G.f.: (1-4*x+13*x^2+10*x^3)/((1-11*x)*(1-x)^3). - Vincenzo Librandi, Oct 06 2014