login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024103 9^n-n^2. 2
1, 8, 77, 720, 6545, 59024, 531405, 4782920, 43046657, 387420408, 3486784301, 31381059488, 282429536337, 2541865828160, 22876792454765, 205891132094424, 1853020188851585, 16677181699666280, 150094635296998797 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..400

Index entries for linear recurrences with constant coefficients, signature (12,-30,28,-9).

FORMULA

G.f.: (1-4*x+11*x^2+8*x^3)/((1-9*x)*(1-x)^3). - Vincenzo Librandi, Oct 06 2014

a(n) = 12*a(n-1) -30*a(n-2) +28*a(n-3) -9*a(n-4) for n>3. - Vincenzo Librandi, Oct 06 2014

a(n) = A001019(n) - A000290(n). - Michel Marcus, Oct 06 2014

MATHEMATICA

Table[9^n - n^2, {n, 0, 25}] (* or *) CoefficientList[Series[(1 - 4 x + 11 x^2 + 8 x^3)/((1 - 9 x) (1 - x)^3), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 06 2014 *)

PROG

(MAGMA) [9^n-n^2: n in [0..25]]; // Vincenzo Librandi, Jul 06 2011

CROSSREFS

Cf. similar sequences listed in A024025.

Sequence in context: A225348 A091686 A091691 * A187638 A092661 A196071

Adjacent sequences:  A024100 A024101 A024102 * A024104 A024105 A024106

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 27 20:18 EDT 2021. Contains 348290 sequences. (Running on oeis4.)