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-6 of 6 results.

A198197 The q-exponential of x, E_q(x,q), evaluated at q=-x.

Original entry on oeis.org

1, 1, 0, -1, -1, -1, -2, -3, -3, -2, 0, 2, 2, 0, -1, 2, 8, 12, 11, 8, 7, 7, 5, 2, 1, 2, 4, 7, 7, -3, -21, -34, -34, -28, -28, -37, -46, -42, -22, -1, -1, -28, -62, -75, -60, -35, -16, 1, 25, 53, 77, 93, 97, 90, 91, 121, 165, 175, 129, 70, 64, 127, 213, 267, 273, 261, 278, 329, 340, 225, 11, -155, -160, -50, 25, -40, -223, -406, -475
Offset: 0

Views

Author

Paul D. Hanna, Oct 23 2011

Keywords

Comments

This q-exponential of x is defined by:
E_q(x,q) = Sum_{n>=0} q^(n*(n-1)/2) * x^n/faq(n,q),
where
log(E_q(x,q)) = Sum_{n>=1} (q-1)^n/(q^n-1) * x^n/n,
and faq(n,q) = Product_{k=1..n} (q^k-1)/(q-1) is the q-factorial of n.
See A152398 for the dual q-exponential function.

Examples

			G.f.: E_q(x,-x) = 1 + x - x^3 - x^4 - x^5 - 2*x^6 - 3*x^7 - 3*x^8 +...
where
E_q(x,-x) = 1 + x - x^3/(1-x) - x^6/((1-x)*(1-x+x^2)) + x^10/((1-x)*(1-x+x^2)*(1-x+x^2-x^3)) + x^15/((1-x)*(1-x+x^2)*(1-x+x^2-x^3)*(1-x+x^2-x^3+x^4)) +...
The g.f. equals the product:
E_q(x,-x) = (1 + (1+x)*x) * (1 - (1+x)*x^2) * (1 + (1+x)*x^3) * (1 - (1+x)*x^4) * (1 + (1+x)*x^5) * (1 - (1+x)*x^6) *...
The logarithm of the g.f. equals the series:
log(E_q(x,-x)) = x - (1+x)^2/(1-x^2)*x^2/2 + (1+x)^3/(1+x^3)*x^3/3 - (1+x)^4/(1-x^4)*x^4/4 + (1+x)^5/(1+x^5)*x^5/5 - (1+x)^6/(1-x^6)*x^6/6 +...
more explicitly,
log(E_q(x,-x)) = x - x^2/2 - 2*x^3/3 - x^4/4 - 4*x^5/5 - 10*x^6/6 - 13*x^7/7 - 17*x^8/8 - 20*x^9/9 - 16*x^10/10 +...
		

Crossrefs

Cf. A198262 (log), A152398 (e_q), A198199, A198200.

Programs

  • PARI
    {a(n)=local(E_q=sum(k=0, n, (-x)^(k*(k-1)/2)*x^k/(prod(j=1, k, (1-(-x)^j)/(1+x))+x*O(x^n))));polcoeff(E_q, n)}
    
  • PARI
    {a(n)=local(q=-x,E_q=exp(sum(k=1, n, (q-1)^k/(q^k-1) * x^k/k)+x*O(x^n)));polcoeff(E_q, n)}
    
  • PARI
    {a(n)=polcoeff(prod(k=1, n, 1-(1+x)*(-x)^k+x*O(x^n)), n)}

Formula

G.f.: E_q(x,-x) = Sum_{n>=0} (-x)^(n*(n-1)/2) * x^n/Product_{k=1..n} (1 - (-x)^k)/(1+x).
G.f.: E_q(x,-x) = exp( Sum_{n>=1} -(1+x)^n/(1-(-x)^n) * (-x)^n/n ).
G.f.: E_q(x,-x) = Product_{n>=1} (1 - (1+x)*(-x)^n).

A198199 G.f.: q-Cosh(x,q)^2 - q-Sinh(x,q)^2 at q=-x.

Original entry on oeis.org

1, 0, -1, -2, -2, -2, -1, 2, 5, 6, 7, 10, 12, 8, -1, -8, -11, -16, -26, -38, -50, -58, -52, -30, -8, 0, 4, 24, 63, 112, 170, 232, 268, 252, 208, 186, 193, 190, 154, 92, -5, -164, -383, -630, -873, -1062, -1128, -1080, -1055, -1172, -1374, -1508, -1508, -1392, -1139, -700, -85, 684, 1627, 2652, 3455
Offset: 0

Views

Author

Paul D. Hanna, Oct 22 2011

Keywords

Comments

This sequence illustrates in part the identities:
* q-Cosh(x,q)^2 - q-Sinh(x,q)^2 = E_q(x,q) / e_q(x,q),
* q-cosh(x,q)^2 - q-sinh(x,q)^2 = e_q(x,q) / E_q(x,q).
Here the following q-analogs are employed (see MathWorld links):
q-cosh(x,q) = Sum_{n>=0} x^(2*n)/faq(2*n,q),
q-sinh(x,q) = Sum_{n>=0} x^(2*n+1)/faq(2*n+1,q),
and the dual expressions:
q-Cosh(x,q) = Sum_{n>=0} q^(n*(2*n-1))*x^(2*n)/faq(2*n,q),
q-Sinh(x,q) = Sum_{n>=0} q^(n*(2*n+1))*x^(2*n+1)/faq(2*n+1,q),
along with the dual q-exponential functions of x:
e_q(x,q) = Sum_{n>=0} x^n/faq(n,q),
E_q(x,q) = Sum_{n>=0} q^(n*(n-1)/2) * x^n/faq(n,q),
where
faq(n,q) = Product_{k=1..n} (q^k-1)/(q-1) is the q-factorial of n.

Examples

			G.f.: A(x) = 1 - x^2 - 2*x^3 - 2*x^4 - 2*x^5 - x^6 + 2*x^7 + 5*x^8 +...
The g.f. may be expressed by:
(0) A(x) = q-Cosh(x,q)^2 - q-Sinh(x,q)^2 at q=-x, where
q-Cosh(x,-x) = 1 - x^3 - x^4 - x^5 - x^6 - x^7 - x^8 - x^9 + 2*x^11 + 3*x^12 + 2*x^13 + x^14 + 2*x^15 +...
q-Sinh(x,-x) = x - x^6 - 2*x^7 - 2*x^8 - x^9 - x^12 - 2*x^13 - 2*x^14 + 4*x^16 +...
q-Cosh(x,-x)^2 = 1 - 2*x^3 - 2*x^4 - 2*x^5 - x^6 + x^8 + 2*x^9 + 5*x^10 + 10*x^11 + 13*x^12 +...
q-Sinh(x,-x)^2 = x^2 - 2*x^7 - 4*x^8 - 4*x^9 - 2*x^10 + x^12 + 2*x^13 + 4*x^14 + 6*x^15 +...
(1) A(x) = E_q(x,q) / e_q(x,q) at q=-x, where
e_q(x,-x) = 1 + x + x^2 + 2*x^3 + 4*x^4 + 7*x^5 + 11*x^6 + 17*x^7 + 28*x^8 + 48*x^9 + 80*x^10 + 128*x^11 + 204*x^12 +...
E_q(x,-x) = 1 + x - x^3 - x^4 - x^5 - 2*x^6 - 3*x^7 - 3*x^8 - 2*x^9 + 2*x^11 + 2*x^12 +...
(2) -log(A(x)) = (1+x)^2/(1-x^2)*x^2 + (1+x)^4/(1-x^4)*x^4/2 + (1+x)^6/(1-x^6)*x^6/3 + (1+x)^8/(1-x^8)*x^8/4 +...
(3) A(x) = (1 - x^2*(1+x)^2) * (1 - x^4*(1+x)^2) * (1 - x^6*(1+x)^2) * (1 - x^8*(1+x)^2) * (1 - x^10*(1+x)^2) *...
		

Crossrefs

Cf. A198200 (dual), A152398 (e_q), A198197 (E_q), A198242 (q-Cosh), A198243 (q-Sinh), A198201 (q-cosh), A198202 (q-sinh).

Programs

  • PARI
    /* (0) G.f. q-Cosh(x,q)^2 - q-Sinh(x,q)^2 at q=-x: */
    {a(n)=local(Cosh_q=sum(k=0, n, (-x)^(k*(2*k-1))*x^(2*k)/(prod(j=1, 2*k, (1-(-x)^j)/(1+x))+x*O(x^n))),Sinh_q=sum(k=0, n, (-x)^(k*(2*k+1))*x^(2*k+1)/(prod(j=1, 2*k+1, (1-(-x)^j)/(1+x))+x*O(x^n))));polcoeff(Cosh_q^2-Sinh_q^2, n)}
    
  • PARI
    /* (1) G.f. E_q(x,q) / e_q(x,q) at q=-x: */
    {a(n)=local(e_q=sum(k=0, n, x^k/(prod(j=1, k, (1-(-x)^j)/(1+x))+x*O(x^n))),E_q=sum(k=0, n, (-x)^(k*(k-1)/2)*x^k/(prod(j=1, k, (1-(-x)^j)/(1+x))+x*O(x^n))));polcoeff(E_q/e_q, n)}
    
  • PARI
    /* (1) G.f. E_q(x,q) / e_q(x,q) at q=-x: */
    {a(n)=local(e_q=exp(sum(k=1, n, x^k*(1+x)^k/(1-(-x)^k)/k)+x*O(x^n)), E_q=exp(sum(k=1, n, -(-x)^k*(1+x)^k/(1-(-x)^k)/k)+x*O(x^n)));polcoeff(E_q/e_q, n)}
    
  • PARI
    /* (2) G.f. exp( -Sum_{n>=1} (1+x)^(2*n)/(1-x^(2*n)) * x^(2*n)/n): */
    {a(n)=polcoeff( exp( -sum(m=1,n\2+1,(1+x)^(2*m)/(1-x^(2*m)+x*O(x^n))*x^(2*m)/m)),n)}
    
  • PARI
    /* (3) G.f. Product_{n>=1} (1 - x^(2*n)*(1+x)^2): */
    {a(n)=polcoeff(prod(k=1, n, 1-(1+x)^2*x^(2*k)+x*O(x^n)), n)}

Formula

(1) G.f.: E_q(x,q) / e_q(x,q) at q=-x, where
e_q(x,-x) = Sum_{n>=0} x^n/Product(k=1, n, (1 - (-x)^k)/(1+x)),
E_q(x,-x) = Sum_{n>=0} (-x)^(n*(n-1)/2) * x^n/Product(k=1, n, (1 - (-x)^k)/(1+x)).
(2) G.f.: exp( -Sum_{n>=1} (1+x)^(2*n)/(1-x^(2*n)) * x^(2*n)/n ).
(3) G.f.: Product_{n>=1} (1 - x^(2*n)*(1+x)^2).
(4) Given g.f. A(x), A( (sqrt(5)-1)/2 ) = 0.

A198242 G.f.: q-Cosh(x) evaluated at q=-x.

Original entry on oeis.org

1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 2, 3, 2, 1, 2, 4, 5, 5, 5, 5, 4, 1, -3, -5, -4, -2, -1, -3, -9, -15, -16, -14, -15, -21, -29, -33, -26, -7, 12, 14, -3, -21, -22, -7, 9, 16, 17, 20, 31, 52, 75, 84, 76, 72, 92, 124, 131, 91, 27, -8, 18, 83, 132, 127, 81, 46, 55
Offset: 0

Views

Author

Paul D. Hanna, Aug 07 2012

Keywords

Comments

Note: q-Cosh(x) = Sum_{n>=0} x^(2*n) * q^(n*(2*n-1)) / Product_{k=1..2*n} (1-q^k)/(1-q).

Examples

			G.f.: 1 - x^3 - x^4 - x^5 - x^6 - x^7 - x^8 - x^9 + 2*x^11 + 3*x^12 +...
		

Crossrefs

Cf. A152398 (e_q), A198197 (E_q), A198243 (q-Sinh), A198201 (q-cosh), A198202 (q-sinh).

Programs

  • PARI
    {a(n)=local(Cosh_q=sum(k=0, sqrtint(n+4), (-x)^(k*(2*k-1))*x^(2*k)/(prod(j=1, 2*k, (1-(-x)^j)/(1+x)+x*O(x^n))))); polcoeff(Cosh_q, n)}
    for(n=0,81,print1(a(n),", "))

Formula

G.f.: Sum_{n>=0} x^(2*n) * (-x)^(n*(2*n-1)) / Product_{k=1..2*n} (1-(-x)^k)/(1+x).

A198201 G.f.: q-cosh(x) evaluated at q=-x.

Original entry on oeis.org

1, 0, 1, 1, 2, 4, 6, 9, 14, 18, 18, 16, 67, 67, 66, 72, 84, 99, 117, 138, 159, 468, 516, 578, 679, 810, 933, 1018, 1072, 1138, 1262, 1448, 4745, 5196, 5851, 6630, 7382, 8031, 8649, 9405, 10409, 11569, 12649, 13530, 14378, 51022, 55567, 60439, 65906, 71953, 78283
Offset: 0

Views

Author

Paul D. Hanna, Aug 07 2012

Keywords

Comments

Note: q-cosh(x) = Sum_{n>=0} x^(2*n) / Product_{k=1..2*n} (1-q^k)/(1-q).

Examples

			 G.f.: 1 + x^2 + x^3 + 2*x^4 + 4*x^5 + 6*x^6 + 9*x^7 + 14*x^8 + 18*x^9 +...
		

Crossrefs

Cf. A152398 (e_q), A198197 (E_q), A198242 (q-Cosh), A198243 (q-Sinh), A198202 (q-sinh).

Programs

  • PARI
    {a(n)=local(Cosh_q=sum(k=0, sqrtint(n+4), x^(2*k)/(prod(j=1, 2*k, (1-(-x)^j)/(1+x)+x*O(x^n))))); polcoeff(Cosh_q, n)}
    for(n=0,81,print1(a(n),", "))

Formula

G.f.: Sum_{n>=0} x^(2*n) / Product_{k=1..2*n} (1-(-x)^k)/(1+x).

A198202 G.f.: q-sinh(x) evaluated at q=-x.

Original entry on oeis.org

1, 0, 1, 2, 3, 5, 8, 13, 22, 31, 32, 89, 115, 126, 122, 118, 127, 150, 178, 198, 653, 747, 835, 921, 1011, 1113, 1236, 1377, 1520, 1661, 1823, 6483, 6894, 7584, 8646, 9906, 11074, 11995, 12787, 13752, 15105, 16742, 18316, 19608, 71188, 78144, 84610, 90794, 97895
Offset: 1

Views

Author

Paul D. Hanna, Aug 07 2012

Keywords

Comments

Note: q-sinh(x) = Sum_{n>=0} x^(2*n+1) / Product_{k=1..2*n+1} (1-q^k)/(1-q).

Examples

			G.f.: x + x^3 + 2*x^4 + 3*x^5 + 5*x^6 + 8*x^7 + 13*x^8 + 22*x^9 + 31*x^10 +...
		

Crossrefs

Cf. A152398 (e_q), A198197 (E_q), A198242 (q-Cosh), A198243 (q-Sinh), A198201 (q-cosh).

Programs

  • PARI
    {a(n)=local(Sinh_q=sum(k=0, sqrtint(n+4), x^(2*k+1)/(prod(j=1, 2*k+1, (1-(-x)^j)/(1+x))+x*O(x^n)))); polcoeff(Sinh_q, n)}
    for(n=0,81,print1(a(n),", "))

Formula

G.f.: Sum_{n>=0} x^(2*n+1) / Product_{k=1..2*n+1} (1-(-x)^k)/(1+x).

A198243 G.f.: q-Sinh(x) evaluated at q=-x.

Original entry on oeis.org

1, 0, 0, 0, 0, -1, -2, -2, -1, 0, 0, -1, -2, -2, 0, 4, 7, 6, 3, 2, 3, 4, 5, 6, 6, 6, 8, 10, 6, -6, -18, -20, -13, -7, -8, -13, -16, -15, -13, -15, -25, -41, -53, -53, -44, -32, -16, 5, 22, 25, 18, 13, 14, 19, 29, 41, 44, 38, 43, 72, 109, 130, 135, 146, 180, 232, 274
Offset: 1

Views

Author

Paul D. Hanna, Aug 07 2012

Keywords

Comments

Note: q-Sinh(x) = Sum_{n>=0} x^(2*n+1) * q^(n*(2*n+1)) / Product_{k=1..2*n+1} (1-q^k)/(1-q).

Examples

			G.f.: x - x^6 - 2*x^7 - 2*x^8 - x^9 - x^12 - 2*x^13 - 2*x^14 + 4*x^16 + 7*x^17 +...
		

Crossrefs

Cf. A152398 (e_q), A198197 (E_q), A198242 (q-Cosh), A198201 (q-cosh), A198202 (q-sinh).

Programs

  • PARI
    {a(n)=local(Sinh_q=sum(k=0, sqrtint(n+4), (-x)^(k*(2*k+1))*x^(2*k+1)/(prod(j=1, 2*k+1, (1-(-x)^j)/(1+x))+x*O(x^n)))); polcoeff(Sinh_q, n)}
    for(n=0,81,print1(a(n),", "))

Formula

G.f.: Sum_{n>=0} x^(2*n+1) * (-x)^(n*(2*n+1)) / Product_{k=1..2*n+1} (1-(-x)^k)/(1+x).
Showing 1-6 of 6 results.