PROG
(MAGMAMagma) [10^n-n^2: n in [0..20]]; // Vincenzo Librandi, Jun 30 2011
(MAGMAMagma) [10^n-n^2: n in [0..20]]; // Vincenzo Librandi, Jun 30 2011
editing
approved
a(n) = 10^n - n^2.
approved
editing
editing
approved
LinearRecurrence[{13, -33, 31, -10}, {1, 9, 96, 991}, 20] (* Harvey P. Dale, May 29 2021 *)
approved
editing
<a href="/index/Rec#order_04">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (13,-33,31,-10).
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = A011557(n) - A000290(n). - Michel Marcus, Oct 06 2014
(MAGMA) [10^n-n^2: n in [0..20]]; // _Vincenzo Librandi, _, Jun 30 2011
proposed
editing