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

A035170 Coefficients in expansion of Dirichlet series Product_p (1-(Kronecker(m,p)+1)*p^(-s)+Kronecker(m,p)*p^(-2s))^(-1) for m = -20.

Original entry on oeis.org

1, 1, 2, 1, 1, 2, 2, 1, 3, 1, 0, 2, 0, 2, 2, 1, 0, 3, 0, 1, 4, 0, 2, 2, 1, 0, 4, 2, 2, 2, 0, 1, 0, 0, 2, 3, 0, 0, 0, 1, 2, 4, 2, 0, 3, 2, 2, 2, 3, 1, 0, 0, 0, 4, 0, 2, 0, 2, 0, 2, 2, 0, 6, 1, 0, 0, 2, 0, 4, 2, 0, 3, 0, 0, 2, 0, 0, 0, 0, 1, 5, 2, 2, 4, 0, 2, 4, 0, 2, 3, 0, 2, 0, 2, 0, 2, 0, 3, 0, 1, 2, 0, 2, 0, 4
Offset: 1

Views

Author

Keywords

Comments

Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
Coefficients of Dedekind zeta function for the quadratic number field of discriminant -20. See A002324 for formula and Maple code. - N. J. A. Sloane, Mar 22 2022

Examples

			q + q^2 + 2*q^3 + q^4 + q^5 + 2*q^6 + 2*q^7 + q^8 + 3*q^9 + q^10 + ...
		

References

  • B. C. Berndt, Ramanujan's Notebooks Part III, Springer-Verlag, see p. 253.

Crossrefs

Dedekind zeta functions for imaginary quadratic number fields of discriminants -3, -4, -7, -8, -11, -15, -19, -20 are A002324, A002654, A035182, A002325, A035179, A035175, A035171, A035170, respectively.
Dedekind zeta functions for real quadratic number fields of discriminants 5, 8, 12, 13, 17, 21, 24, 28, 29, 33, 37, 40 are A035187, A035185, A035194, A035195, A035199, A035203, A035188, A035210, A035211, A035215, A035219, A035192, respectively.

Programs

  • Mathematica
    QP = QPochhammer; s = (1/q) * (QP[q^2]*QP[q^4]*QP[q^5]*(QP[q^10] / (QP[q]* QP[q^20]))-1) + O[q]^105; CoefficientList[s, q] (* Jean-François Alcover, Dec 04 2015 *)
    a[n_] := If[n < 0, 0, DivisorSum[ n, KroneckerSymbol[-20, #] &]]; Table[a[n], {n, 1, 100}] (* G. C. Greubel, Dec 12 2017 *)
  • PARI
    direuler(p=2,101,1/(1-(kronecker(m,p)*(X-X^2))-X))
    
  • PARI
    {a(n) = if( n<1, 0, sumdiv(n, d, kronecker( -20, d)))} \\ Michael Somos, Sep 10 2005
    
  • PARI
    {a(n) = if( n<1, 0, direuler( p=2, n, 1 / (1 - X) / (1 - kronecker( -20, p) * X) )[n])} \\ Michael Somos, Sep 10 2005
    
  • PARI
    {a(n) = if( n<1, 0, qfrep([1, 0; 0, 5], n)[n] + qfrep([2, 1; 1, 3], n)[n])} \\ Michael Somos, Oct 21 2006

Formula

Multiplicative with a(2^e) = a(5^e) = 1, a(p^e) = e+1 if p == 1, 3, 7, 9 (mod 20), a(p^e) = (1+(-1)^e)/2 if p == 11, 13, 17, 19 (mod 20). - Michael Somos, Sep 10 2005
G.f.: Sum_{k>0} x^k * (1 + x^(2*k)) * (1 + x^(6*k)) / (1 + x^(10*k)). - Michael Somos, Sep 10 2005
a(2*n) = a(5*n) = a(n), a(20*n + 11) = a(20*n + 13) = a(20*n + 17) = a(20*n + 19) = 0.
Moebius transform is period 20 sequence [ 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, -1, 0, 0, 0, -1, 0, -1, 0, ...]. - Michael Somos, Oct 21 2006
Expansion of -1 + (phi(q) * phi(q^5) + phi(q^2) * phi(q^10) + 4 * q^3 * psi(q^4)* psi(q^20)) / 2 in powers of q where phi(), psi() are Ramanujan theta functions.
2*a(n) = A028586(n) + A033718(n) if n>0. - Michael Somos, Oct 21 2006
a(n) = A124233(n) unless n=0. a(n) = |A111949(n)|. a(2*n + 1) = A129390(n). a(4*n + 3) = 2 * A033764(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Pi/sqrt(5) = 1.404962... . - Amiram Eldar, Oct 11 2022

A111949 Expansion of eta(q) * eta(q^2) * eta(q^10) * eta(q^20) / (eta(q^4) * eta(q^5)) in powers of q.

Original entry on oeis.org

1, -1, -2, 1, 1, 2, -2, -1, 3, -1, 0, -2, 0, 2, -2, 1, 0, -3, 0, 1, 4, 0, -2, 2, 1, 0, -4, -2, 2, 2, 0, -1, 0, 0, -2, 3, 0, 0, 0, -1, 2, -4, -2, 0, 3, 2, -2, -2, 3, -1, 0, 0, 0, 4, 0, 2, 0, -2, 0, -2, 2, 0, -6, 1, 0, 0, -2, 0, 4, 2, 0, -3, 0, 0, -2, 0, 0, 0, 0, 1, 5, -2, -2, 4, 0, 2, -4, 0, 2, -3, 0, -2, 0, 2, 0, 2, 0, -3, 0, 1, 2, 0, -2, 0, 4
Offset: 1

Views

Author

Michael Somos, Aug 22 2005

Keywords

Comments

Number 37 of the 74 eta-quotients listed in Table I of Martin (1996).

Examples

			G.f. = q - q^2 - 2*q^3 + q^4 + q^5 + 2*q^6 - 2*q^7 - q^8 + 3*q^9 - q^10 + ...
		

Crossrefs

Programs

  • Mathematica
    a[ n_] := SeriesCoefficient[ q QPochhammer[ q] QPochhammer[ q^2] QPochhammer[ q^10] QPochhammer[ q^20] / (QPochhammer[ q^4] QPochhammer[ q^5]), {q, 0, n}]; (* Michael Somos, May 19 2015 *)
    a[ n_] := If[ n < 1, 0, Sum[ Mod[d, 2] (-1)^Quotient[d, 2] KroneckerSymbol[ n/d, 5], { d, Divisors[ n]}]]; (* Michael Somos, May 19 2015 *)
  • PARI
    {a(n) = my(A); if( n<1, 0, n--; A = x * O(x^n); polcoeff( eta(x + A) * eta(x^2 + A) * eta(x^10 + A) * eta(x^20 + A) / eta(x^4 + A) / eta(x^5 + A), n))};
    
  • PARI
    {a(n) = if( n<1, 0, sumdiv( n, d, (d%2) * (-1)^(d\2) * kronecker( n/d, 5)))};
    
  • PARI
    {a(n) = if( n<1, 0, qfrep( [1, 0; 0, 5], n)[n] - qfrep( [2, 1; 1, 3], n)[n])};

Formula

Euler transform of period 20 sequence [-1, -2, -1, -1, 0, -2, -1, -1, -1, -2, -1, -1, -1, -2, 0, -1, -1, -2, -1, -2, ...].
a(n) is multiplicative with a(p^e) = (-1)^e if p = 2, a(p^e) = 1 if p = 5, a(p^e) = (1 + (-1)^e) / 2 if p == 11, 13, 17, 19 (mod 20), a(p^e) = e + 1 if p == 1, 9 (mod 20), a(p^e) = (e + 1)*(-1)^e if p == 3, 7 (mod 20).
G.f.: Sum_{k>0} Kronecker(-4, k) * x^k * (1 - x^k) * (1 - x^(2*k)) / (1 - x^(5*k)).
G.f.: Sum_{k>0} Kronecker(k, 5) * x^k / (1 + x^(2*k)).
G.f.: x * Product_{k>0} (1 - x^k) * (1 + x^(5*k)) * (1 - x^(20*k)) / (1 + x^(2*k)).
|a(n)| = A035170(n). a(2*n) = -a(n). a(2*n + 1) = A129391(n). a(4*n + 3) = -2 * A033764(n).
a(5*n) = a(n). - Michael Somos, May 19 2015

A124233 Expansion of psi(q) * phi(-q^10) * chi(-q^5) / chi(-q^2) in powers of q where phi(), psi(), chi() are Ramanujan theta functions.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 2, 2, 1, 3, 1, 0, 2, 0, 2, 2, 1, 0, 3, 0, 1, 4, 0, 2, 2, 1, 0, 4, 2, 2, 2, 0, 1, 0, 0, 2, 3, 0, 0, 0, 1, 2, 4, 2, 0, 3, 2, 2, 2, 3, 1, 0, 0, 0, 4, 0, 2, 0, 2, 0, 2, 2, 0, 6, 1, 0, 0, 2, 0, 4, 2, 0, 3, 0, 0, 2, 0, 0, 0, 0, 1, 5, 2, 2, 4, 0, 2
Offset: 0

Views

Author

Michael Somos, Oct 21 2006

Keywords

Comments

Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
Number 38 of the 74 eta-quotients listed in Table I of Martin (1996).

Examples

			G.f. = 1 + q + q^2 + 2*q^3 + q^4 + q^5 + 2*q^6 + 2*q^7 + q^8 + 3*q^9 + q^10 + ...
		

Crossrefs

Programs

  • Mathematica
    a[ n_] := If[ n < 1, Boole[n == 0], DivisorSum[ n, KroneckerSymbol[ -20, #] &]]; (* Michael Somos, Jul 09 2015 *)
    a[ n_] := SeriesCoefficient[ QPochhammer[ q^2] QPochhammer[ q^4] QPochhammer[ q^5] QPochhammer[ q^10] / (QPochhammer[ q] QPochhammer[ q^20]), {q, 0, n}]; (* Michael Somos, Jul 09 2015 *)
  • PARI
    {a(n) = if( n<1, n==0, sumdiv( n, d, kronecker( -20, d)))};
    
  • PARI
    {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A) * eta(x^4 + A) * eta(x^5 + A) * eta(x^10 + A) / eta(x + A) / eta(x^20 + A), n))};

Formula

Expansion of eta(q^2) * eta(q^4) * eta(q^5) * eta(q^10) / (eta(q) * eta(q^20)) in powers of q.
Euler transform of period 20 sequence [ 1, 0, 1, -1, 0, 0, 1, -1, 1, -2, 1, -1, 1, 0, 0, -1, 1, 0, 1, -2, ...].
Moebius transform is period 20 sequence [ 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, -1, 0, 0, 0, -1, 0, -1, 0, ...].
a(n) is multiplicative with a(2^e) = a(5^e) = 1, a(p^e) = e+1 if p == 1, 3, 7, 9 (mod 20), a(p^e) = (1 + (-1)^e) / 2 if p == 11, 13, 17, 19 (mod 20).
G.f.: 1 + Sum_{k>0} x^k * (1 + x^(2*k)) * (1 + x^(6*k)) / (1 + x^(10*k)).
a(2*n) = a(5*n) = a(n), a(20*n + 11) = a(20*n + 13) = a(20*n + 17) = a(20*n + 19) = 0.
a(n) = A035170(n) unless n=0. a(2*n + 1) = A129390(n). a(4*n + 3) = 2 * A033764(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Pi/sqrt(5) = 1.404962... . - Amiram Eldar, Dec 22 2023

A286813 Number of positive odd solutions to equation x^2 + 8*y^2 = 8*n + 9.

Original entry on oeis.org

1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 2, 0, 0, 1, 0, 0, 0, 0, 1, 2, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 2, 0
Offset: 0

Views

Author

Seiichi Manyama, May 28 2017

Keywords

Crossrefs

Related to the number of positive odd solutions to equation x^2 + k*y^2 = 8*n + k + 1: A008441 (k=1), A033761 (k=2), A033762 (k=3), A053692 (k=4), A033764 (k=5), A259896 (k=6), A035162 (k=7), this sequence (k=8).

Formula

Expansion of q^(-9/8) * (eta(q^2) * eta(q^16))^2 / (eta(q) * eta(q^8)) in powers of q.
Euler Transform of -(-2*x^8-x^7-1)/(x^9+x^8+x+1) (o.g.f.). - Simon Plouffe, Jun 23 2018
Showing 1-4 of 4 results.