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!)
A128992 a(n) = (n^3 - n^2)*9^n. 1
0, 324, 13122, 314928, 5904900, 95659380, 1406192886, 19284931008, 251048476872, 3138105960900, 37971082126890, 447368385785904, 5154903899851212, 58290067175240628, 648557066098144350 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: 162*x^2*(2+9*x)/(1-9*x)^4. - Vincenzo Librandi, Feb 12 2013
a(n) = 36*a(n-1)-486*a(n-2)+2916*a(n-3)-6561*a(n-4). - Vincenzo Librandi, Feb 12 2013
MATHEMATICA
CoefficientList[Series[162 x (2 + 9 x)/(1 - 9 x)^4, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 12 2013 *)
PROG
(Magma) [(n^3-n^2)*9^n: n in [1..25]]; /* or */ I:=[0, 324, 13122, 314928]; [n le 4 select I[n] else 36*Self(n-1)-486*Self(n-2)+2916*Self(n-3)-6561*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Feb 12 2013
CROSSREFS
Sequence in context: A203374 A183358 A128381 * A221399 A204082 A088216
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 30 2007
EXTENSIONS
Offset corrected by Mohammad K. Azarian, Nov 20 2008
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 March 29 03:51 EDT 2024. Contains 371264 sequences. (Running on oeis4.)