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.

Showing 1-10 of 14 results. Next

A156177 A bisection of A000436.

Original entry on oeis.org

1, 352, 7869952, 1243925143552, 722906928498737152, 1118389087843083461066752, 3794717805092151129643367268352, 24809622030942586708931326728787197952, 284876472796397041595189052788763077537431552, 5358281136280777382502986500754127200892786313265152
Offset: 0

Views

Author

N. J. A. Sloane, Nov 07 2009

Keywords

Programs

  • Maple
    a := n -> 2^(8*n+1)*3^(4*n)*(Zeta(0,-4*n,1/6)-Zeta(0,-4*n,2/3)):
    seq(a(n), n=0..9); # Peter Luschny, Mar 11 2015
  • Mathematica
    b[0] = 1; b[n_] := b[n] = (-1)^n (1-Sum[(-1)^i Binomial[2n, 2i] 3^(2n-2i) b[i], {i, 0, n-1}]);
    a[n_] := b[2n];
    Table[a[n], {n, 0, 9}] (* Jean-François Alcover, Jul 08 2019 *)
  • Sage
    from mpmath import mp, lerchphi
    mp.dps = 64; mp.pretty = True
    def A156177(n): return abs(3^(4*n)*2^(4*n+1)*lerchphi(-1,-4*n,1/3))
    [int(A156177(n)) for n in (0..9)]  # Peter Luschny, Apr 27 2013

Formula

a(n) = | 3^(4*n)*2^(4*n+1)*lerchphi(-1,-4*n,1/3) |. - Peter Luschny, Apr 27 2013
a(n) = 2^(8*n+1)*3^(4*n)*(zeta(-4*n,1/6)-zeta(-4*n,2/3)), where zeta(a,z) is the generalized Riemann zeta function. - Peter Luschny, Mar 11 2015

A156178 A bisection of A000436.

Original entry on oeis.org

8, 38528, 2583554048, 825787662368768, 806875574817679474688, 1884680130335630169428983808, 8996956010653823687821026161328128, 78730345253083926602212304047862498459648, 1165875553018316795143687738745856008854981050368, 27479800301221036852377324247444630678920385132167692288
Offset: 0

Views

Author

N. J. A. Sloane, Nov 07 2009

Keywords

Programs

  • Maple
    a := n -> 2*(-144)^(2*n+1)*(Zeta(0,-4*n-2, 1/6)-Zeta(0,-4*n-2, 2/3)):
    seq(a(n), n=0..9); # Peter Luschny, Mar 11 2015

Formula

a(n) = 2*(-144)^(2*n+1)*(zeta(-4*n-2, 1/6)-zeta(-4*n-2,2/3)), where zeta(a,z) is the generalized Riemann zeta function.

A349264 Generalized Euler numbers, a(n) = n!*[x^n](sec(4*x)*(sin(4*x) + 1)).

Original entry on oeis.org

1, 4, 16, 128, 1280, 16384, 249856, 4456448, 90767360, 2080374784, 52975108096, 1483911200768, 45344872202240, 1501108249821184, 53515555843342336, 2044143848640217088, 83285910482761809920, 3605459138582973251584, 165262072909347030040576, 7995891855149741436305408
Offset: 0

Views

Author

Peter Luschny, Nov 20 2021

Keywords

Examples

			Exponential generating functions of generalized Euler numbers in context:
egf1 = sec(1*x)*(sin(x) + 1).
   [A000111, A000364, A000182]
egf2 = sec(2*x)*(sin(x) + cos(x)).
   [A001586, A000281, A000464]
egf3 = sec(3*x)*(sin(2*x) + cos(x)).
   [A007289, A000436, A000191]
egf4 = sec(4*x)*(sin(4*x) + 1).
   [A349264, A000490, A000318]
egf5 = sec(5*x)*(sin(x) + sin(3*x) + cos(2*x) + cos(4*x)).
   [A349265, A000187, A000320]
egf6 = sec(6*x)*(sin(x) + sin(5*x) + cos(x) + cos(5*x)).
   [A001587, A000192, A000411]
egf7 = sec(7*x)*(-sin(2*x) + sin(4*x) + sin(6*x) + cos(x) + cos(3*x) - cos(5*x)).
   [A349266, A064068, A064072]
egf8 = sec(8*x)*2*(sin(4*x) + cos(4*x)).
   [A349267, A064069, A064073]
egf9 = sec(9*x)*(4*sin(3*x) + 2)*cos(3*x)^2.
   [A349268, A064070, A064074]
		

Crossrefs

Programs

  • Maple
    sec(4*x)*(sin(4*x) + 1): series(%, x, 20): seq(n!*coeff(%, x, n), n = 0..19);
  • Mathematica
    m = 19; CoefficientList[Series[Sec[4*x] * (Sin[4*x] + 1), {x, 0, m}], x] * Range[0, m]! (* Amiram Eldar, Nov 20 2021 *)
  • PARI
    seq(n)={my(x='x + O('x^(n+1))); Vec(serlaplace((sin(4*x) + 1)/cos(4*x)))} \\ Andrew Howroyd, Nov 20 2021

A155100 Triangle read by rows: coefficients in polynomials P_n(u) arising from the expansion of D^(n-1) (tan x) in increasing powers of tan x for n>=1 and 1 for n=0.

Original entry on oeis.org

1, 0, 1, 1, 0, 1, 0, 2, 0, 2, 2, 0, 8, 0, 6, 0, 16, 0, 40, 0, 24, 16, 0, 136, 0, 240, 0, 120, 0, 272, 0, 1232, 0, 1680, 0, 720, 272, 0, 3968, 0, 12096, 0, 13440, 0, 5040, 0, 7936, 0, 56320, 0, 129024, 0, 120960, 0, 40320, 7936, 0, 176896, 0, 814080, 0, 1491840
Offset: 0

Views

Author

N. J. A. Sloane, Nov 05 2009

Keywords

Comments

The definition is d^(n-1) tan x / dx^n = P_n(tan x) for n>=1 and 1 for n=0.
Interpolates between factorials and tangent numbers.
From Peter Bala, Mar 02 2011: (Start)
Companion triangles are A104035 and A185896.
A combinatorial interpretation for the polynomial P_n(t) as the generating function for a sign change statistic on certain types of signed permutation can be found in [Verges].
A signed permutation is a sequence (x_1,x_2,...,x_n) of integers such that {|x_1|,|x_2|,...,|x_n|} = {1,2,...,n}.
They form a group, the hyperoctahedral group of order 2^n*n! = A000165(n), isomorphic to the group of symmetries of the n dimensional cube.
Let x_1,...,x_n be a signed permutation and put x_0 = -(n+1) and x_(n+1) = (-1)^n*(n+1). Then x_0,x_1,...,x_n,x_(n+1) is a snake of type S(n) when x_0 < x_1 > x_2 < ... x_(n+1). For example, -5 4 -3 -1 -2 5 is a snake of type S(4).
Let sc be the number of sign changes through a snake sc = #{i, 0 <= i <= n, x_i*x_(i+1) < 0}. For example, the snake -5 4 -3 -1 -2 5 has sc = 3.
The polynomial P_(n+1)(t) is the generating function for the sign change statistic on snakes of type S(n): P_(n+1)(t) = sum {snakes in S(n)} t^sc.
See the example section below for the cases n=1 and n=2.
(End)
Equals A107729 when the first column is removed. - Georg Fischer, Jul 26 2023

Examples

			The polynomials P_{-1}(u) through P_6(u) with exponents in decreasing order:
      1
      u
      u^2 +    1
    2*u^3 +    2*u
    6*u^4 +    8*u^2 +    2
   24*u^5 +   40*u^3 +   16*u
  120*u^6 +  240*u^4 +  136*u^2 +  16
  720*u^7 + 1680*u^5 + 1232*u^3 + 272*u
  ...
Triangle begins:
  1
  0, 1
  1, 0, 1
  0, 2, 0, 2
  2, 0, 8, 0, 6
  0, 16, 0, 40, 0, 24
  16, 0, 136, 0, 240, 0, 120
  0, 272, 0, 1232, 0, 1680, 0, 720
  272, 0, 3968, 0, 12096, 0, 13440, 0, 5040
  0, 7936, 0, 56320, 0, 129024, 0, 120960, 0, 40320
  7936, 0, 176896, 0, 814080, 0, 1491840, 0, 1209600, 0, 362880
  0, 353792, 0, 3610112, 0, 12207360, 0, 18627840, 0, 13305600, 0, 3628800
  ...
From _Peter Bala_, Feb 07 2011: (Start)
Examples of sign change statistic sc on snakes of type S(n):
    Snakes     # sign changes sc  t^sc
  ===========  =================  ====
n=1:
  -2  1 -2 ........... 2 ........ t^2
  -2 -1 -2 ........... 0 ........ 1
                  yields P_2(t) = 1 + t^2;
n=2:
  -3  1 -2  3 ........ 3 ........ t^3
  -3  2  1  3 ........ 1 ........ t
  -3  2 -1  3 ........ 3 ........ t^3
  -3 -1 -2  3 ........ 1 ........ t
                  yields P_3(t) = 2*t + 2*t^3. (End)
		

References

  • R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics, Addison-Wesley, Reading, MA, 2nd ed. 1998, p. 287.

Crossrefs

For other versions of this triangle see A008293, A101343.
A104035 is a companion triangle.
Highest order coefficients give factorials A000142. Constant terms give tangent numbers A000182. Other coefficients: A002301.
Setting u=1 in P_n gives A000831, u=2 gives A156073, u=3 gives A156075, u=4 gives A156076, u=1/2 gives A156102.
Setting u=sqrt(2) in P_n gives A156108 and A156122; setting u=sqrt(3) gives A156103 and A000436.

Programs

  • Maple
    P:=proc(n) option remember;
    if n=-1 then RETURN(1); elif n=0 then RETURN(u); else RETURN(expand((u^2+1)*diff(P(n-1),u))); fi;
    end;
    for n from -1 to 12 do t1:=series(P(n),u,20); lprint(seriestolist(t1)); od:
    # Alternatively:
    with(PolynomialTools): seq(print(CoefficientList(`if`(i=0,1,D@@(i-1))(tan),tan)), i=0..7); # Peter Luschny, May 19 2015
  • Mathematica
    p[n_, u_] := D[Tan[x], {x, n}] /. Tan[x] -> u /. Sec[x] -> Sqrt[1 + u^2] // Expand; p[-1, u_] = 1; Flatten[ Table[ CoefficientList[ p[n, u], u], {n, -1, 9}]] (* Jean-François Alcover, Jun 28 2012 *)
    T[ n_, k_] := Which[n<0, Boole[n==-1 && k==0], n==0, Boole[k==1], True, (k-1)*T[n-1, k-1] + (k+1)*T[n-1, k+1]]; (* Michael Somos, Jul 09 2024 *)
  • PARI
    {T(n, k) = if(n<0, n==-1 && k==0, n==0, k==1, (k-1)*T(n-1, k-1) + (k+1)*T(n-1, k+1))}; /* Michael Somos, Jul 09 2024 */

Formula

If the polynomials are denoted by P_n(u), we have the recurrence P_{-1}=1, P_0 = u, P_n = (u^2+1)*dP_{n-1}/du.
G.f.: Sum_{n >= 0} P_n(u) t^n/n! = (sin t + u*cos t)/(cos t - u sin t). [Hoffman]
From Peter Bala, Feb 07 2011: (Start)
RELATION WITH BERNOULLI NUMBERS A000367 AND A002445
Put T(n,t) = P_n(i*t), where i = sqrt(-1). We have the definite integral evaluation, valid when both m and n are >=1 and m+n >= 4:
int( T(m,t)*T(n,t)/(1-t^2), t = -1..1) = (-1)^((m-n)/2)*2^(m+n-1)*Bernoulli(m+n-2).
The case m = n is equivalent to the result of [Grosset and Veselov]. The methods used there extend to the general case.
RELATION WITH OTHER ROW POLYNOMIALS
The following three identities hold for n >= 1:
P_(n+1)(t) = (1+t^2)*R(n-1,t) where R(n,t) is the n-th row polynomial of A185896.
P_(n+1)(t) = (-2*i)^n*(t-i)*R(n,-1/2+1/2*i*t), where i = sqrt(-1) and R(n,x) is an ordered Bell polynomial, that is, the n-th row polynomial of A019538.
P_(n+1)(t) = (t-i)*(t+i)^n*A(n,(t-i)/(t+i)), where {A(n,t)}n>=1 = [1,1+t,1+4*t+t^2,1+11*t+11*t^2+t^3,...] is the sequence of Eulerian polynomials - see A008292. (End)
T(n,k) = cos((n+k)*Pi/2) * Sum_{p=0..n-1} A008292(n-1,p+1) Sum_{j=0..k}(-1)^(p+j+1) * binomial(p+1,k-j) *binomial(n-p-1,j) for n>1. - Ammar Khatab, Aug 15 2024

Extensions

Name clarified by Peter Luschny, May 25 2015

A235605 Shanks's array c_{a,n} (a >= 1, n >= 0) that generalizes Euler and class numbers, read by antidiagonals upwards.

Original entry on oeis.org

1, 1, 1, 1, 3, 5, 1, 8, 57, 61, 2, 16, 352, 2763, 1385, 2, 30, 1280, 38528, 250737, 50521, 1, 46, 3522, 249856, 7869952, 36581523, 2702765, 2, 64, 7970, 1066590, 90767360, 2583554048, 7828053417, 199360981, 2, 96, 15872, 3487246, 604935042, 52975108096
Offset: 1

Views

Author

N. J. A. Sloane, Jan 22 2014

Keywords

Examples

			The array begins:
A000364: 1, 1,    5,     61,       1385,         50521,          2702765,..
A000281: 1, 3,   57,   2763,     250737,      36581523,       7828053417,..
A000436: 1, 8,  352,  38528,    7869952,    2583554048,    1243925143552,..
A000490: 1,16, 1280, 249856,   90767360,   52975108096,   45344872202240,..
A000187: 2,30, 3522,1066590,  604935042,  551609685150,  737740947722562,..
A000192: 2,46, 7970,3487246, 2849229890, 3741386059246, 7205584123783010,..
A064068: 1,64,15872,9493504,10562158592,18878667833344,49488442978598912,..
...
		

Crossrefs

Columns: A000003 (class numbers), A000233, A000362, A000508, ...
Cf. A235606.

Programs

  • Mathematica
    amax = 10; nmax = amax-1; km0 = 10; Clear[cc]; L[a_, s_, km_] := Sum[ JacobiSymbol[-a, 2k+1]/(2k+1)^s, {k, 0, km}]; c[1, n_, km_] := 2(2n)! L[1, 2n+1, km] (2/Pi)^(2n+1) // Round; c[a_ /; a>1, n_, km_] := (2n)! L[a, 2n+1, km] (2a/Pi)^(2n+1)/Sqrt[a] // Round; cc[km_] := cc[km] = Table[ c[a, n, km], {a, 1, amax}, {n, 0, nmax}]; cc[km0]; cc[km = 2km0]; While[ cc[km] != cc[km/2, km = 2km]]; A235605[a_, n_] := cc[km][[a, n+1 ]]; Table[ A235605[ a-n, n], {a, 1, amax}, {n, 0, a-1}] // Flatten (* Jean-François Alcover, Feb 05 2016 *)
    ccs[b_, nm_] := With[{ns = Range[0, nm]}, (-1)^ns If[Mod[b, 4] == 3, Sum[JacobiSymbol[k, b] (b - 4 k)^(2 ns), {k, 1, (b - 1)/2}], Sum[JacobiSymbol[-b, 2 k + 1] (b - (2 k + 1))^(2 ns), {k, 0, (b - 2)/2}]]];
    csfs[1, nm_] := csfs[1, nm] = (2 Range[0, nm])! CoefficientList[Series[Sec[x], {x, 0, 2 nm}], x^2];
    csfs[b_, nm_] := csfs[b, nm] = Fold[Function[{cs, cc}, Append[cs, cc - Sum[cs[[-i]] (-b^2)^i Binomial[2 Length[cs], 2 i], {i, Length[cs]}]]], {}, ccs[b, nm]];
    rowA235605[a_, nm_] := With[{facs = FactorInteger[a], ns = Range[0, nm]}, With[{b = Times @@ (#^Mod[#2, 2] &) @@@ facs}, If[a == b, csfs[b, nm], If[b == 1, 1/2, 1] csfs[b, nm] Sqrt[a/b]^(4 ns + 1) Times @@ Cases[facs, {p_, e_} /; p > 2 && e > 1 :> 1 - JacobiSymbol[-b, p]/p^(2 ns + 1)]]]];
    arr = Table[rowA235605[a, 10], {a, 10}];
    Flatten[Table[arr[[r - n + 1, n + 1]], {r, 0, Length[arr] - 1}, {n, 0, r}]] (* Matthew House, Sep 07 2024 *)

Formula

Shanks gives recurrences.

Extensions

a(27) removed, a(29)-a(42) added, and typo in name corrected by Lars Blomberg, Sep 10 2015
Offset corrected by Andrew Howroyd, Oct 25 2024

A007289 Expansion of e.g.f. (sin(2*x) + cos(x)) / cos(3*x).

Original entry on oeis.org

1, 2, 8, 46, 352, 3362, 38528, 515086, 7869952, 135274562, 2583554048, 54276473326, 1243925143552, 30884386347362, 825787662368768, 23657073914466766, 722906928498737152, 23471059057478981762, 806875574817679474688, 29279357851856595135406
Offset: 0

Views

Author

Keywords

Comments

Arises in the enumeration of alternating 3-signed permutations.

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Row 3 of A349271.
Cf. A006873, A007286, A225109, A000191 (bisection), A000436 (bisection).

Programs

  • Maple
    A007289 := proc(n) local k,j; add(add((-1)^j*binomial(k,j)*(k-2*j)^n*I^(n-k),j=0..k),k=0..n) end: # Peter Luschny, Jul 31 2011
  • Mathematica
    mx = 17; Range[0, mx]! CoefficientList[ Series[ (Sin[2 x] + Cos[x])/Cos[3 x], {x, 0, mx}], x] (* Robert G. Wilson v, Apr 28 2013 *)
  • PARI
    my(x='x+O('x^66)); Vec(serlaplace((sin(2*x) + cos(x)) / cos(3*x))) \\ Joerg Arndt, Apr 28 2013
    
  • Sage
    from mpmath import mp, polylog, im
    mp.dps = 32; mp.pretty = True
    def aperm3(n): return 2*((1-I)/(1+I))^n*(1+add(binomial(n,j)*polylog(-j,I)*3^j for j in (0..n)))
    def A007289(n) : return im(aperm3(n))
    [int(A007289(n)) for n in (0..17)] # Peter Luschny, Apr 28 2013

Formula

E.g.f.: (sin(2*x) + cos(x)) / cos(3*x).
a(n) = Sum_{k=0..n} Sum_{j=0..k} (-1)^j*binomial(k,j)*(k-2*j)^n*I^(n-k). - Peter Luschny, Jul 31 2011
a(n) = Im(2*((1-I)/(1+I))^n*(1+sum_{j=0..n}(binomial(n,j)*Li_{-j}(I)*3^j))). - Peter Luschny, Apr 28 2013
a(n) ~ n! * 2^(n+1)*3^(n+1/2)/Pi^(n+1). - Vaclav Kotesovec, Jun 15 2013
a(0) = 1; a(n) = 2 * Sum_{k=0..floor((n-1)/2)} (-1)^k * binomial(n,2*k+1) * a(n-2*k-1). - Ilya Gutkovskiy, Mar 10 2022
From Seiichi Manyama, Jun 25 2025: (Start)
E.g.f.: 1/(1 - 2 * sin(x)).
a(n) = Sum_{k=0..n} 2^k * k! * i^(n-k) * A136630(n,k), where i is the imaginary unit. (End)

A002114 Glaisher's H' numbers.

Original entry on oeis.org

1, 11, 301, 15371, 1261501, 151846331, 25201039501, 5515342166891, 1538993024478301, 533289474412481051, 224671379367784281901, 113091403397683832932811, 67032545884354589043714301, 46211522130188693681603906171
Offset: 1

Views

Author

Keywords

Comments

a(n) mod 9 = 1,2,4,8,7,5 repeated period 6 (A153130, see also A001370). a(n) mod 10 = 1. - Paul Curtz, Sep 10 2009

References

  • A. Fletcher, J. C. P. Miller, L. Rosenhead and L. J. Comrie, An Index of Mathematical Tables. Vols. 1 and 2, 2nd ed., Blackwell, Oxford and Addison-Wesley, Reading, MA, 1962, Vol. 1, p. 76.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Programs

  • Maple
    a := n -> (-1)^n*6^(2*n)*(Zeta(0,-n*2,1/3)-Zeta(0,-n*2, 5/6)):
    seq(a(n), n=1..14);
  • Mathematica
    Select[Rest[With[{nn=28},CoefficientList[Series[1/(2 (2Cos[x]-1)), {x,0,nn}], x]Range[0,nn]!]],#!=0&] (* Harvey P. Dale, Jul 27 2011 *)
    FullSimplify[Table[(-1)^(s+1) * BernoulliB[2*s] * (Zeta[2*s + 1, 1/6] - Zeta[2*s + 1, 5/6]) / (4*Pi*Sqrt[3]*Zeta[2*s]), {s, 1, 20}]]  (* Vaclav Kotesovec, May 05 2020 *)
  • Maxima
    a(n) := sum(sum(binomial(k,j)*(-1)^(k-j+1)*1/2^(j-1)*sum((-1)^(n)*binomial(j,i)*(2*i-j)^(2*n),i,0,floor((j-1)/2)),j,0,k)*(-2)^(k-1),k,1,2*n); /* Vladimir Kruchinin, Aug 05 2010 */

Formula

H'(n) = H(n)/3, where H(n)=2^(2n+1)*I(n) (see A002112) and e.g.f. for (-1)^n*I(n) is (3/2)/(1+exp(x)+exp(-x)) (see A047788, A047789).
H'(n) = A000436(n)/2^(2n+1). - Philippe Deléham, Jan 17 2004
For n > 0, H'(n) = Sum{k = 0..n, T(n, k)*9^(n-k)*2^(k-1) }; where DELTA is the operator defined in A084938, T(n, k) is the triangle, read by rows, given by :[0, 1, 0, 4, 0, 9, 0, 16, 0, 25, ...] DELTA [1, 0, 10, 0, 28, 0, 55, 0, 90, ..]= {1}; {0, 1}; {0, 1, 1}; {0, 1, 12, 1}; {0, 1, 63, 123, 1}; {0, 1, 274, 2366, 1234, 1}; ... For 1, 10, 28, 55, 90, 136, ... see A060544 or A060544. - Philippe Deléham, Jan 17 2004
E.g.f. 1/2*1/(2*cos(x)-1). a(n)=sum(sum(binomial(k,j)*(-1)^(k-j+1)*1/2^(j-1)*sum((-1)^(n)*binomial(j,i)*(2*i-j)^(2*n),i,0,floor((j-1)/2)),j,0,k)*(-2)^(k-1),k,1,2*n), n>0. - Vladimir Kruchinin, Aug 05 2010
E.g.f.: E(x)= x^2/(G(0)-x^2) ; G(k)= 2*(2*k+1)*(k+1) - x^2 + 2*x^2*(2*k+1)*(k+1)/G(k+1); (continued fraction Euler's kind, 1-step ). - Sergei N. Gladkovskii, Jan 03 2012
If E(x)=Sum(k=0,1,..., a(k+1)*x^(2k+2)), then A002114(k) = a(k+1)*(2*k+2)!. - Sergei N. Gladkovskii, Jan 09 2012
a(n) ~ (2*n)! * 3^(2*n+1/2) / Pi^(2*n+1). - Vaclav Kotesovec, Feb 26 2014
a(n) = (-1)^n*6^(2*n)*(zeta(-n*2,1/3)-zeta(-n*2,5/6)), where zeta(a, z) is the generalized Riemann zeta function.
From Vaclav Kotesovec, May 05 2020: (Start)
a(n) = (2*n)! * (zeta(2*n+1, 1/6) - zeta(2*n+1, 5/6)) / (sqrt(3)*(2*Pi)^(2*n+1)).
a(n) = (-1)^(n+1) * Bernoulli(2*n) * (zeta(2*n+1, 1/6) - zeta(2*n+1, 5/6)) / (4*Pi*sqrt(3)*zeta(2*n)). (End)
Conjectural e.g.f.: Sum_{n >= 1} (-1)^n*Product_{k = 1..n} (1 - exp(A007310(k)*z) ) = z + 11*z^2/2! + 301*z^3/3! + .... - Peter Bala, Dec 09 2021

A000191 Generalized tangent numbers d(3, n).

Original entry on oeis.org

2, 46, 3362, 515086, 135274562, 54276473326, 30884386347362, 23657073914466766, 23471059057478981762, 29279357851856595135406, 44855282210826271011257762, 82787899853638102222862479246, 181184428895772987376073015175362, 463938847087789978515380344866258286
Offset: 0

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A000436, A007289, overview in A349264.

Programs

  • Maple
    gf := (2*sin(t))/(2*cos(2*t) - 1): ser := series(gf, t, 26):
    seq((2*n+1)!*coeff(ser, t, 2*n+1), n=0..23); # Peter Luschny, Oct 17 2020
    a := n -> (-1)^n*(-6)^(2*n+1)*euler(2*n+1, 1/6):
    seq(a(n), n = 0..13); # Peter Luschny, Nov 26 2020
  • Mathematica
    (* Formulas from D. Shanks, see link, p. 690. *)
    L[ a_, s_, t_:10000 ] := Plus@@Table[ N[ JacobiSymbol[ -a, 2k+1 ](2k+1)^(-s), 30 ], {k, 0, t} ]; d[ a_, n_, t_:10000 ] := (2n-1)!/Sqrt[ a ](2a/Pi)^(2n)L[ -a, 2n, t ] (* Eric W. Weisstein, Aug 30 2001 *)

Formula

a(n) = 2*A002439(n). - N. J. A. Sloane, Nov 06 2009
E.g.f.: (2*sin(t))/(2*cos(2*t) - 1), odd terms only. - Peter Luschny, Oct 17 2020
Alternative form for e.g.f.: a(n) = (2*n+1)!*[x^(2*n)](sqrt(3)/(6*x))*(sec(x + Pi/3) + sec(x + 2*Pi/3)). - Peter Bala, Nov 16 2020
a(n) = (-1)^(n+1)*6^(2*n+1)*euler(2*n+1, 1/6). - Peter Luschny, Nov 26 2020

Extensions

More terms from Eric W. Weisstein, Aug 30 2001
Offset set to 0 by Peter Luschny, Nov 26 2020

A086646 Triangle, read by rows, of numbers T(n,k), 0 <= k <= n, given by T(n,k) = A000364(n-k)*binomial(2*n, 2*k).

Original entry on oeis.org

1, 1, 1, 5, 6, 1, 61, 75, 15, 1, 1385, 1708, 350, 28, 1, 50521, 62325, 12810, 1050, 45, 1, 2702765, 3334386, 685575, 56364, 2475, 66, 1, 199360981, 245951615, 50571521, 4159155, 183183, 5005, 91, 1, 19391512145, 23923317720, 4919032300, 404572168, 17824950, 488488, 9100, 120, 1
Offset: 0

Views

Author

Philippe Deléham, Jul 26 2003

Keywords

Comments

The elements of the matrix inverse are apparently given by T^(-1)(n,k) = (-1)^(n+k)*A086645(n,k). - R. J. Mathar, Mar 14 2013
Let E(y) = Sum_{n >= 0} y^n/(2*n)! = cosh(sqrt(y)). Then this triangle is the generalized Riordan array (1/E(-y), y) with respect to the sequence (2*n)! as defined in Wang and Wang. - Peter Bala, Aug 06 2013
Let P_n be the poset of even size subsets of [2n] ordered by inclusion. Then Sum_{k=0..n}(-1)^(n-k)*T(n,k)*x^k is the characteristic polynomial of P_n. - Geoffrey Critzer, Feb 24 2021

Examples

			Triangle begins:
      1;
      1,     1;
      5,     6,     1;
     61,    75,    15,    1;
   1385,  1708,   350,   28,  1;
  50521, 62325, 12810, 1050, 45, 1;
  ...
From _Peter Bala_, Aug 06 2013: (Start)
Polynomial  |        Real zeros to 5 decimal places
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
R(5,-x)     | 1, 9.18062, 13.91597
R(10,-x)    | 1, 9.00000, 25.03855,  37.95073
R(15,-x)    | 1, 9.00000, 25.00000,  49.00895, 71.83657
R(20,-x)    | 1, 9.00000, 25.00000,  49.00000, 81.00205, 114.87399
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
(End)
		

Crossrefs

Cf. A000281.
Cf. A000795 (row sums).
Cf. A055133, A086645 (unsigned matrix inverse), A103364, A104033.
T(2n,n) give |A214445(n)|.

Programs

  • Maple
    A086646 := proc(n,k)
        if k < 0 or k > n then
            0 ;
        else
            A000364(n-k)*binomial(2*n,2*k) ;
        end if;
    end proc: # R. J. Mathar, Mar 14 2013
  • Mathematica
    R[0, _] = 1;
    R[n_, x_] := R[n, x] = x^n - Sum[(-1)^(n-k) Binomial[2n, 2k] R[k, x], {k, 0, n-1}];
    Table[CoefficientList[R[n, x], x], {n, 0, 8}] // Flatten (* Jean-François Alcover, Dec 19 2019 *)
    T[0, 0] := 1; T[n_, 0] := -Sum[(-1)^k T[n, k], {k, 1, n}]; T[n_, k_]/;0Oliver Seipel, Jan 11 2025 *)

Formula

cosh(u*t)/cos(t) = Sum_{n>=0} S_2n(u)*(t^(2*n))*(1/(2*n)!). S_2n(u) = Sum_{k>=0} T(n,k)*u^(2*k). Sum_{k>=0} (-1)^k*T(n,k) = 0. Sum_{k>=0} T(n,k) = 2^n*A005647(n); A005647: Salie numbers.
Triangle T(n,k) read by rows; given by [1, 4, 9, 16, 25, 36, 49, ...] DELTA [1, 0, 1, 0, 1, 0, 1, 0, 1, ...] where DELTA is the operator defined in A084938.
Sum_{k=0..n} (-1)^k*T(n,k)*4^(n-k) = A000281(n). - Philippe Deléham, Jan 26 2004
Sum_{k=0..n} T(n,k)*(-4)^k*9^(n-k) = A002438(n+1). - Philippe Deléham, Aug 26 2005
Sum_{k=0..n} (-1)^k*9^(n-k)*T(n,k) = A000436(n). - Philippe Deléham, Oct 27 2006
From Peter Bala, Aug 06 2013: (Start)
Let E(y) = Sum_{n >= 0} y^n/(2*n)! = cosh(sqrt(y)). Generating function: E(x*y)/E(-y) = 1 + (1 + x)*y/2! + (5 + 6*x + x^2)*y^2/4! + (61 + 75*x + 15*x^2 + x^3)*y^3/6! + .... The n-th power of this array has a generating function E(x*y)/E(-y)^n. In particular, the matrix inverse is a signed version of A086645 with a generating function E(-y)*E(x*y).
Recurrence equation for the row polynomials: R(n,x) = x^n - Sum_{k = 0..n-1} (-1)^(n-k)*binomial(2*n,2*k)*R(k,x) with initial value R(0,x) = 1.
It appears that for arbitrary complex x we have lim_{n -> infinity} R(n,-x^2)/R(n,0) = cos(x*Pi/2). A stronger result than pointwise convergence may hold: the convergence may be uniform on compact subsets of the complex plane. This would explain the observation that the real zeros of the polynomials R(n,-x) seem to converge to the odd squares 1, 9, 25, ... as n increases. Some numerical examples are given below. Cf. A055133, A091042 and A103364.
R(n,-1) = 0; R(n,-9) = (-1)^n*2*4^n; R(n,-25) = (-1)^n*2*(16^n - 4^n);
R(n,-49) = (-1)^n*2*(36^n - 16^n + 4^n). (End)

A000490 Generalized Euler numbers c(4,n).

Original entry on oeis.org

1, 16, 1280, 249856, 90767360, 52975108096, 45344872202240, 53515555843342336, 83285910482761809920, 165262072909347030040576, 407227428060372417275494400, 1219998300294918683087199010816, 4366953142363907901751614431559680, 18406538229888710811704852978971181056
Offset: 0

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Maple
    egf := sec(4*x): ser := series(egf, x, 26):
    seq((2*n)!*coeff(ser, x, 2*n), n = 0..11); # Peter Luschny, Nov 21 2021
  • Mathematica
    a0 = 4; nmax = 20; km0 = nmax; Clear[cc]; L[a_, s_, km_] := Sum[ JacobiSymbol[-a, 2*k+1]/(2*k+1)^s, {k, 0, km}]; c[a_, n_, km_] := 2^(2*n +1)*Pi^(-(2*n)-1)*(2*n)!*a^(2*n+1/2)*L[a, 2*n+1, km] // Round; cc[km_] := cc[km] = Table[c[a0, n, km], {n, 0, nmax}]; cc[km0]; cc[km = 2 km0]; While[cc[km] != cc[km/2, km = 2 km]]; A000490 = cc[km] (* Jean-François Alcover, Feb 05 2016 *)
    Range[0, 26, 2]! CoefficientList[Series[Sec[4 x], {x, 0, 26}], x^2] (* Matthew House, Oct 05 2024 *)

Formula

a(n) = A000364(n)*16^n. - Philippe Deléham, Oct 27 2006
a(n) = (2*n)!*[x^(2*n)](sec(4*x)). - Peter Luschny, Nov 21 2021

Extensions

More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), Jun 02 2000
Showing 1-10 of 14 results. Next