cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A346395 Expansion of e.g.f. -log(1 - x) * exp(3*x).

This page as a plain text file.
%I A346395 #20 Jul 23 2025 09:07:50
%S A346395 0,1,7,38,192,969,5115,29322,187992,1370745,11392839,107043606,
%T A346395 1122823944,12989320785,164040593067,2243143392138,32994768719376,
%U A346395 519229765892241,8701862242296807,154700700117472422,2907409255935736752,57588370882960384377,1198954118077558162875
%N A346395 Expansion of e.g.f. -log(1 - x) * exp(3*x).
%H A346395 Seiichi Manyama, <a href="/A346395/b346395.txt">Table of n, a(n) for n = 0..450</a>
%F A346395 a(n) = n! * Sum_{k=0..n-1} 3^k / ((n-k) * k!).
%F A346395 a(n) ~ exp(3) * (n-1)!. - _Vaclav Kotesovec_, Aug 09 2021
%F A346395 a(0) = 0, a(1) = 1, a(n) = (n+2) * a(n-1) - 3 * (n-1) * a(n-2) + 3^(n-1). - _Seiichi Manyama_, May 27 2022
%t A346395 nmax = 22; CoefficientList[Series[-Log[1 - x] Exp[3 x], {x, 0, nmax}], x] Range[0, nmax]!
%t A346395 Table[n! Sum[3^k/((n - k) k!), {k, 0, n - 1}], {n, 0, 22}]
%o A346395 (PARI) a_vector(n) = my(v=vector(n+1, i, if(i==2, 1, 0))); for(i=2, n, v[i+1]=(i+2)*v[i]-3*(i-1)*v[i-1]+3^(i-1)); v; \\ _Seiichi Manyama_, May 27 2022
%Y A346395 Cf. A002104, A053486, A346394, A346396.
%K A346395 nonn
%O A346395 0,3
%A A346395 _Ilya Gutkovskiy_, Jul 15 2021