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.
%I A381276 #12 Feb 19 2025 03:37:08 %S A381276 1,1,1,-26,-107,136,9181,53488,-427895,-10486016,-43859879,1373548672, %T A381276 23512856797,-30564574208,-6412871847563,-73709639926784, %U A381276 1060067525174929,40587133606543360,179320588932698929,-14474677657838059520,-306563699887974043739,2301792469199499132928 %N A381276 Expansion of e.g.f. exp(x * cos(3*x)). %C A381276 As stated in the comment of A185951, A185951(n,0) = 0^n. %F A381276 a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/2)} (-9)^k * (2*k+1) * binomial(n-1,2*k) * a(n-2*k-1). %F A381276 a(n) = Sum_{k=0..n} (3*i)^(n-k) * A185951(n,k), where i is the imaginary unit. %o A381276 (PARI) a185951(n, k) = binomial(n, k)/2^k*sum(j=0, k, (2*j-k)^(n-k)*binomial(k, j)); %o A381276 a(n) = sum(k=0, n, (3*I)^(n-k)*a185951(n, k)); %Y A381276 Cf. A009189, A381275. %Y A381276 Cf. A185951, A352643, A381283. %K A381276 sign %O A381276 0,4 %A A381276 _Seiichi Manyama_, Feb 18 2025