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 A170914 #56 Oct 09 2019 02:52:16 %S A170914 1,0,-1,1,-19,19,-659,37,-7675,40043,-3578279,1123009,-95259767, %T A170914 7091713,-85215100151,832857559,-4180679675171,63804880881241, %U A170914 -6399968826052559,5697831990097981,-478887035449041839,252737248941887573,-1123931378903214542099,35703551772944759 %N A170914 Write 1 + sin x = Product_{n>=1} (1 + g_n * x^n); a(n) = numerator(g_n). %C A170914 From _Petros Hadjicostas_, Oct 06 2019: (Start) %C A170914 The recurrence about (A(m,n): m,n >= 1) in the Formula section follows from Theorem 3 in Gingold et al. (1988); see also Gingold and Knopfmacher (1995, p. 1222). A(m=1,n) equals the n-th coefficient of the Taylor expansion of 1 + sin(x). %C A170914 If 1 + sin(x) = 1/Product_{n>=1} (1 + f_n * x^n) (inverse power product expansion), then Gingold and Knopfmacher (1995) and Alkauskas (2008, 2009) proved that f_n = -g_n for n odd, and Sum_{s|n} (-g_{n/s})^s/s = -Sum_{s|n} (-f_{n/s})^s/s. [We caution that different authors may use -g_n for g_n, or -f_n for f_n, or both.] We have A328191(n) = numerator(f_n) and A328186(n) = denominator(f_n). %C A170914 _Wolfdieter Lang_ (see the link below) examined inverse power product expansions both for ordinary g.f.'s and for exponential g.f.'s. %C A170914 In all cases, we assume the g.f.'s are unital, i.e., the g.f.'s start with a constant 1. %C A170914 (End) %H A170914 Giedrius Alkauskas, <a href="http://arxiv.org/abs/0801.0805">One curious proof of Fermat's little theorem</a>, arXiv:0801.0805 [math.NT], 2008. %H A170914 Giedrius Alkauskas, <a href="https://www.jstor.org/stable/40391097">A curious proof of Fermat's little theorem</a>, Amer. Math. Monthly 116(4) (2009), 362-364. %H A170914 H. Gingold, H. W. Gould, and Michael E. Mays, <a href="https://www.researchgate.net/publication/268023169_Power_product_expansions">Power Product Expansions</a>, Utilitas Mathematica 34 (1988), 143-161. %H A170914 H. Gingold and A. Knopfmacher, <a href="http://dx.doi.org/10.4153/CJM-1995-062-9">Analytic properties of power product expansions</a>, Canad. J. Math. 47 (1995), 1219-1239. %H A170914 W. Lang, <a href="/A157162/a157162.txt">Recurrences for the general problem</a>, 2009. %F A170914 From _Petros Hadjicostas_, Oct 07 2019: (Start) %F A170914 a(2*n+1) = -A328191(2*n+1) for n >= 0. %F A170914 Define (A(m,n): n,m >= 1) by A(m=1,2*n+1) = (-1)^n/(2*n+1)! for n >= 0, A(m=1,2*n) = 0 for n >= 1, A(m,n) = 0 for m > n >= 1 (upper triangular), and A(m,n) = A(m-1,n) - A(m-1,m-1) * A(m,n-m+1) for n >= m >= 2. Then g_n = A(n,n). (End) %e A170914 g_n = 1, 0, -1/6, 1/6, -19/120, 19/120, -659/5040, 37/280, -7675/72576, ... %p A170914 # Calculates the fractions g_n (choose L much larger than M): %p A170914 PPE_sin := proc(L, M) %p A170914 local t1, t0, g, t2, n, t3; %p A170914 if L < 2.5*M then print("Choose larger value for L"); %p A170914 else %p A170914 t1 := 1 + sin(x); %p A170914 t0 := series(t1, x, L); %p A170914 g := []; t2 := t0; %p A170914 for n to M do %p A170914 t3 := coeff(t2, x, n); %p A170914 t2 := series(t2/(1 + t3*x^n), x, L); %p A170914 g := [op(g), t3]; %p A170914 end do; %p A170914 end if; %p A170914 [seq(g[n], n = 1 .. nops(g))]; %p A170914 end proc; %p A170914 # Calculates the numerators of g_n: %p A170914 h1 := map(numer, PPE_sin(100, 40)); # _Petros Hadjicostas_, Oct 06 2019 by modifying _N. J. A. Sloane_'s program from A170912 and A170913. %t A170914 A[m_, n_] := %t A170914 A[m, n] = %t A170914 Which[m == 1, (1-(-1)^n)*(-1)^Floor[(n-1)/2]/(2*n!), m > n >= 1, 0, True, %t A170914 A[m - 1, n] - A[m - 1, m - 1]*A[m, n - m + 1]]; %t A170914 a[n_] := Numerator[A[n, n]]; %t A170914 a /@ Range[1, 55] (* _Petros Hadjicostas_, Oct 06 2019, courtesy of _Jean-François Alcover_ *) %Y A170914 Cf. Denominators are in A170915. %Y A170914 Cf. A170910, A170911, A170912, A170913, A328186, A328191. %K A170914 sign,frac %O A170914 1,5 %A A170914 _N. J. A. Sloane_, Jan 30 2010