login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024103 a(n) = 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
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:30 EDT 2024. Contains 371967 sequences. (Running on oeis4.)