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!)
A004142 a(n) = n*(3^n - 2^n). 0
0, 1, 10, 57, 260, 1055, 3990, 14413, 50440, 172539, 580250, 1926089, 6328140, 20619703, 66732190, 214742085, 687698960, 2193154547, 6968850210, 22073006401, 69714716500, 219623377071, 690291036710 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
From R. J. Mathar, Feb 10 2022: (Start)
G.f.: -x*(-1+6*x^2) / ( (3*x-1)^2*(2*x-1)^2 ).
a(n) = A036290(n) - A036289(n). (End)
MATHEMATICA
Table[n(3^n-2^n), {n, 0, 30}] (* or *) LinearRecurrence[{10, -37, 60, -36}, {0, 1, 10, 57}, 30] (* Harvey P. Dale, Sep 04 2023 *)
CROSSREFS
Equals n * A001047(n).
Sequence in context: A047780 A055251 A038733 * A006529 A337001 A246754
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)