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!)
A367836 Expansion of e.g.f. 1/(2 - x - exp(3*x)). 6
1, 4, 41, 627, 12759, 324543, 9906453, 352785933, 14358074211, 657405969075, 33444798498657, 1871613674744553, 114259520317835871, 7556674046930376111, 538212358684663414317, 41071433946325564954581, 3343141735414440335583003 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1; a(n) = n * a(n-1) + Sum_{k=1..n} 3^k * binomial(n,k) * a(n-k).
MATHEMATICA
With[{nn=20}, CoefficientList[Series[1/(2-x-Exp[3x]), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Feb 16 2024 *)
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=i*v[i]+sum(j=1, i, 3^j*binomial(i, j)*v[i-j+1])); v;
CROSSREFS
Sequence in context: A085340 A230251 A001908 * A367846 A270703 A363302
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Dec 02 2023
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 July 16 01:40 EDT 2024. Contains 374343 sequences. (Running on oeis4.)