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.

A133100 Expansion of f(x, x^4) in powers of x where f(, ) is Ramanujan's general theta function.

Original entry on oeis.org

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

Views

Author

Michael Somos, Sep 11 2007

Keywords

Examples

			G.f. = 1 + x + x^4 + x^7 + x^13 + x^18 + x^27 + x^34 + x^46 + x^55 + x^70 + ...
G.f. = q^9 + q^49 + q^169 + q^289 + q^529 + q^729 + q^1089 + q^1369 + q^1849 + ...
		

Crossrefs

Programs

  • Mathematica
    a[ n_] := SeriesCoefficient[ QPochhammer[ -x, x^5] QPochhammer[ -x^4, x^5] QPochhammer[ x^5], {x, 0, n}]; (* Michael Somos, Oct 31 2015 *)
    a[ n_] := SquaresR[ 1, 40 n + 9] / 2; (* Michael Somos, Jan 30 2017 *)
    a[ n_] := If[n < 0, 0, Boole @ IntegerQ @ Sqrt @ (40 n + 9)]; (* Michael Somos, Jan 30 2017 *)
  • PARI
    {a(n) = if( n<0, 0, polcoeff( prod( k=1,n, 1 + x^k*[-1, 1, 0, 0, 1][k%5 + 1], 1 + x * O(x^n)), n))};
    
  • PARI
    {a(n) = issquare( 40*n + 9)};

Formula

f(x,x^m) = 1 + Sum_{k=1..oo} x^((m+1)*k*(k-1)/2) (x^k + x^(m*k)). - N. J. A. Sloane, Jan 30 2017
The characteristic function of A085787 generalized heptagonal numbers.
Euler transform of period 10 sequence [1, -1, 0, 1, -1, 1, 0, -1, 1, -1, ...].
G.f.: Prod_{k>0} (1 - x^(5*k)) * (1 + x^(5*k - 1)) * (1 + x^(5*k - 4)) = Sum_{k in Z} x^((5*k^2 + 3*k) / 2).
a(n) = |A113429(n)|. a(3*n + 2) = 0.
Sum_{k=1..n} a(k) ~ 2 * sqrt(2/5) * sqrt(n). - Amiram Eldar, Jan 13 2024

A281490 Expansion of f(x, x^3) * f(x, x^8) in powers of x where f(, ) is Ramanujan's general theta function.

Original entry on oeis.org

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

Views

Author

Michael Somos, Jan 29 2017

Keywords

Examples

			G.f. = 1 + 2*x + x^2 + x^3 + x^4 + x^6 + x^7 + x^8 + x^9 + x^10 + 3*x^11 + ...
G.f. = q^29 + 2*q^65 + q^101 + q^137 + q^173 + q^245 + q^281 + q^317 + q^353 + ...
		

Crossrefs

Programs

  • Mathematica
    a[ n_] := SeriesCoefficient[ (1/2) x^(-1/8) EllipticTheta[ 2, 0, x^(1/2)] QPochhammer[ -x, x^9] QPochhammer[ -x^8, x^9] QPochhammer[ x^9], {x, 0, n}];
  • PARI
    {a(n) = if( n<0, 0, sumdiv(36*n + 29, d, kronecker(-4, d)) / 2)};
    
  • PARI
    {a(n) = if( n<0, 0, my(A, p, e); n = 36*n + 29; A = factor(n); prod(k=1, matsize(A) [1], [p, e] = A[k, ]; if(p%4==1, e+1, 1-e%2)) / 2)};

Formula

f(x,x^m) = 1 + Sum_{k=1..oo} x^((m+1)*k*(k-1)/2)*(x^k + x^(m*k)). - N. J. A. Sloane, Jan 30 2017
G.f.: (Sum_{k>0} x^(k*(k - 1)/2)) * (Sum_{k in Z} x^(k*(9*k + 7)/2)).
G.f.: Product_{k>0} (1 - x^(2*k)) / (1 - x^(2*k-1)) * (1 + x^(9*k-8)) * (1 + x^(9*k-1)) * (1 - x^(9*k)).
Convolution of sequences A010054 and A281814.
2 * a(n) = A281451(32*n + 25).

A281815 Expansion of f(x, x^10) in powers of x where f(, ) is Ramanujan's general theta function.

Original entry on oeis.org

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

Views

Author

Michael Somos, Jan 30 2017

Keywords

Examples

			G.f. = 1 + x + x^10 + x^13 + x^31 + x^36 + x^63 + x^70 + x^106 + x^115 + ...
G.f. = q^81 + q^169 + q^961 + q^1225 + q^2809 + q^3249 + q^5625 + q^6241 + ...
		

Crossrefs

Cf. A195313.

Programs

  • Mathematica
    a[ n_] := SquaresR[ 1, 88 n + 81] / 2;
    a[ n_] := If[ n < 0, 0, Boole @ IntegerQ @ Sqrt @ (88 n + 81)];
    a[ n_] := SeriesCoefficient[ QPochhammer[ -x, x^11] QPochhammer[ -x^10, x^11] QPochhammer[ x^11], {x, 0, n}];
  • PARI
    {a(n) = issquare(88*n + 81)};

Formula

f(x,x^m) = 1 + Sum_{k>=1} x^((m+1)*k*(k-1)/2) (x^k + x^(m*k)). - N. J. A. Sloane, Jan 30 2017
Euler transform of period 22 sequence [1, -1, 0, 0, 0, 0, 0, 0, 0, 1, -1, 1, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, ...].
Characteristic function of generalized 13-gonal numbers A195313.
G.f.: Sum_{k in Z} x^(k*(11*k + 9)/2).
G.f.: Product_{k>0} (1 + x^(11*k-10)) * (1 + x^(11*k-1)) * (1 - x^(11*k)).
Sum_{k=1..n} a(k) ~ (2*sqrt(2/11)) * sqrt(n). - Amiram Eldar, Jan 13 2024

A287325 Square array A(n,k), n >= 0, k >= 0, read by antidiagonals, where column k is the expansion of Sum_{j=-inf..inf} (-1)^j*x^(k*j*(j-1)/2 + j^2).

Original entry on oeis.org

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

Views

Author

Ilya Gutkovskiy, Aug 13 2017

Keywords

Examples

			Square array begins:
   1,   1,   1,   1,   1,   1, ...
  -2,  -1,  -1,  -1,  -1,  -1, ...
   0,  -1,   0,   0,   0,   0, ...
   0,   0,  -1,   0,   0,   0, ...
   2,   0,   0,  -1,   0,   0, ...
   0,   1,   0,   0,  -1,   0, ...
		

Crossrefs

Programs

  • Mathematica
    Table[Function[k, SeriesCoefficient[Sum[(-1)^i x^(k i (i - 1)/2 + i^2), {i, -n, n}], {x, 0, n}]][j - n], {j, 0, 13}, {n, 0, j}] // Flatten
    Table[Function[k, SeriesCoefficient[Product[(1 - x^((k + 2) i)) (1 - x^((k + 2) i - 1)) (1 - x^((k + 2) i - k - 1)), {i, 1, n}], {x, 0, n}]][j - n], {j, 0, 13}, {n, 0, j}] // Flatten
    Table[Function[k, SeriesCoefficient[(x^(2 + k) QPochhammer[1/x, x^(2 + k)] QPochhammer[x^(-1 - k), x^(2 + k)] QPochhammer[x^(2 + k), x^(2 + k)])/((-1 + x) (-1 + x^(1 + k))), {x, 0, n}]][j - n], {j, 0, 13}, {n, 0, j}] // Flatten

Formula

G.f. of column 0: Sum_{j=-inf..inf} (-1)^j*x^A000290(j) = Product_{i>=1} (1 + x^i)/(1 - x^i) (convolution inverse of A015128).
G.f. of column 1: Sum_{j=-inf..inf} (-1)^j*x^A000326(j) = Product_{i>=1} (1 - x^i) (convolution inverse of A000041).
G.f. of column 2: Sum_{j=-inf..inf} (-1)^j*x^A000384(j) = Product_{i>=1} (1 - x^(2*i))/(1 + x^(2*i-1)) (convolution inverse of A006950).
G.f. of column 3: Sum_{j=-inf..inf} (-1)^j*x^A000566(j) = Product_{i>=1} (1 - x^(5*i))*(1 - x^(5*i-1))*(1 - x^(5*i-4)) (convolution inverse of A036820).
G.f. of column 4: Sum_{j=-inf..inf} (-1)^j*x^A000567(j) = Product_{i>=1} (1 - x^(6*i))*(1 - x^(6*i-1))*(1 - x^(6*i-5)) (convolution inverse of A195848).
G.f. of column 5: Sum_{j=-inf..inf} (-1)^j*x^A001106(j) = Product_{i>=1} (1 - x^(7*i))*(1 - x^(7*i-1))*(1 - x^(7*i-6)) (convolution inverse of A195849).
G.f. of column 6: Sum_{j=-inf..inf} (-1)^j*x^A001107(j) = Product_{i>=1} (1 - x^(8*i))*(1 - x^(8*i-1))*(1 - x^(8*i-7)) (convolution inverse of A195850).
G.f. of column 7: Sum_{j=-inf..inf} (-1)^j*x^A051682(j) = Product_{i>=1} (1 - x^(9*i))*(1 - x^(9*i-1))*(1 - x^(9*i-8)) (convolution inverse of A195851).
G.f. of column 8: Sum_{j=-inf..inf} (-1)^j*x^A051624(j) = Product_{i>=1} (1 - x^(10*i))*(1 - x^(10*i-1))*(1 - x^(10*i-9)) (convolution inverse of A195852).
G.f. of column 9: Sum_{j=-inf..inf} (-1)^j*x^A051865(j) = Product_{i>=1} (1 - x^(11*i))*(1 - x^(11*i-1))*(1 - x^(11*i-10)) (convolution inverse of A196933).
G.f. of column k: Sum_{j=-inf..inf} (-1)^j*x^(k*j*(j-1)/2+j^2) = Product_{i>=1} (1 - x^((k+2)*i))*(1 - x^((k+2)*i-1))*(1 - x^((k+2)*i-k-1)).
Showing 1-4 of 4 results.