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 15 results. Next

A007325 G.f.: Product_{k>0} (1-x^(5k-1))*(1-x^(5k-4))/((1-x^(5k-2))*(1-x^(5k-3))).

Original entry on oeis.org

1, -1, 1, 0, -1, 1, -1, 1, 0, -1, 2, -3, 2, 0, -2, 4, -4, 3, -1, -3, 6, -7, 5, 0, -5, 9, -10, 7, -1, -7, 14, -16, 11, -1, -11, 20, -22, 16, -2, -15, 29, -33, 23, -2, -23, 41, -45, 32, -4, -30, 57, -64, 45, -4, -43, 78, -86, 60, -7, -57, 107, -119, 83, -8, -79, 143
Offset: 0

Views

Author

Keywords

Comments

Expansion of f(-x, -x^4) / f(-x^2, -x^3) in powers of x where f(,) is Ramanujan's two-variable theta function.
Hauptmodul series for Gamma(5).
Expansion of Rogers-Ramanujan's continued fraction 1 / (1 + x / ( 1 + x^2 / ( 1 + x^3 / ( 1 + x^4 / ... )))).
Given the g.f. A(x) the notation R(q) := q^(1/5) * A(q) is used by Berndt.

Examples

			G.f. = 1 - x + x^2 - x^4 + x^5 - x^6 + x^7 - x^9 + 2*x^10 - 3*x^11 + 2*x^12 - ...
G.f. = q - q^6 + q^11 - q^21 + q^26 - q^31 + q^36 - q^46 + 2*q^51 - 3*q^56 + ...
		

References

  • G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer, 2005, see p. 57.
  • B. C. Berndt, Ramanujan's Notebooks Part V, Springer-Verlag, see p. 9.
  • J. M. Borwein and P. B. Borwein, Pi and the AGM, Wiley, 1987, p. 81.
  • A. Erdelyi, Higher Transcendental Functions, McGraw-Hill, 1955, Vol. 3, p. 24.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Maple
    t1:=mul((1-x^(5*k-1))*(1-x^(5*k-4))/((1-x^(5*k-2))*(1-x^(5*k-3))), k=1..60); seriestolist(series(t1,x,59)); # N. J. A. Sloane, Jun 10 2013
    A007325_G:=proc(x,NK);Digits:=250;
    Q2:=1;
    for k from NK by -1 to 0 do
    Q1:=1+x^k/Q2; Q2:=Q1; od;
    Q3:=Q2; S:=Q3-1;
    end;
    # Sergei N. Gladkovskii, Dec 18 2011
  • Mathematica
    a[ n_] := SeriesCoefficient[ QPochhammer[ q, q^5] QPochhammer[ q^4, q^5] / (QPochhammer[ q^2, q^5] QPochhammer[ q^3, q^5]), {q, 0, n}]; (* Michael Somos, Aug 17 2011 *)
    a[ n_] := SeriesCoefficient[ ContinuedFractionK[ q^k, 1, {k, 0, n}], {q, 0, n}]; (* Michael Somos, Jun 10 2013 *)
    max = 65; CoefficientList[ Series[ Fold[ #2/(1 + #1)&, q^n, q^Reverse[ Range[0, max-1] ] ], {q, 0, max}], q] (* Jean-François Alcover, Apr 04 2013 *)
  • PARI
    {a(n) = my(k); if( n<0, 0, k = (3 + sqrtint(9 + 40*n)) \ 10; polcoeff( sum( n=-k, k, (-1)^n * x^((5*n^2 + 3*n)/2), x * O(x^n)) / sum( n=-k, k,( -1)^n * x^((5*n^2 + n)/2), x * O(x^n)), n))};
    
  • PARI
    {a(n) = if( n<0, 0, polcoeff( prod( k=1, n, if(k%5, (1 - x^k)^((-1)^binomial( k%5, 2)), 1), 1 + x * O(x^n)), n))};
    
  • PARI
    {a(n) = my(cf); if( n<0, 0, cf = contfracpnqn( matrix( 2, (sqrtint(8*n + 1) + 1)\2, i, j, if( i==1, x^(j-1), 1))); polcoeff( cf[2, 1] / cf[1, 1] + x * O(x^n), n))};
    
  • PARI
    {a(n) = my(A, m); if( n<0, 0, m=1; A = 1 + O(x); while( m<=n, m*=5; A = x * subst(A, x, x^5); A = (A * (1 - 2*A + 4*A^2 - 3*A^3 + A^4) / (1 + 3*A + 4*A^2 + 2*A^3 + A^4) / x)^(1/5)); polcoeff(A, n))};

Formula

Euler transform of period 5 sequence [-1, 1, 1, -1, 0, ...] (=-A080891).
G.f.: Product_{k>=1}(1-x^(5*k-1)) * (1-x^(5*k-4)) / ( (1-x^(5*k-2)) * (1-x^(5*k-3)) ) = H(x) / G(x) where H and G are respectively the g.f. of A003114 and A003106.
G.f.: (Sum (-1)^k x^((5*k + 3)*k/2))/(Sum (-1)^k x^((5*k + 1)*k/2)). - Michael Somos, Dec 13 2002
Given g.f. A(x), then B(q) = q * A(q^5) satisfies 0 = f(B(q), B(q^2)) where f(u, v) = u^2 - v + u*v^3 + u^3*v^2. - Michael Somos, Mar 09 2004
Given g.f. A(x), then B(q) = q * A(q^5) satisfies 0 = f(B(q), B(q^2), B(q^4)) where f(u, v, w) = u * (u*v + w^2 + v^2*w) - w. - Michael Somos, Aug 29 2005
Given g.f. A(x), then B(q) = q * A(q^5) satisfies 0 = f(B(q), B(q^2), B(q^3), B(q^6)) where f(u1, u2, u3, u6) = u1*u2 + u1*u3^2*u6 + u2*u3^2 - u2^2*u3*u6 - u3. - Michael Somos, Aug 29 2005
G.f.: 1 / (1 + x / ( 1 + x^2 / ( 1 + x^3 / ( 1 + x^4 / ... )))).
G.f.: 1 / (1 + 1 / (x^-1 + 1 / (x^-1 + 1 / (x^-2 + 1 / (x^-2 + 1 / ... ))))). - Michael Somos, Apr 30 2012
G.f.: A(x) = S(0) -1; S(k) = 1 + x^k/S(k+1); (continued fraction). - Sergei N. Gladkovskii, Dec 18 2011
Hankel transform is A167683. - Michael Somos, Apr 30 2012
a(n) = (-1)^n * A226556(n). - Michael Somos, Jun 11 2013
a(0) = 1, a(n) = -(1/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0. - Seiichi Manyama, Apr 01 2017

A055102 Expansion of cube of continued fraction 1/ ( 1+q/ ( 1+q^2/ ( 1+q^3/ ( 1+q^4/... )))).

Original entry on oeis.org

1, -3, 6, -7, 3, 6, -17, 24, -21, 6, 21, -54, 77, -72, 24, 64, -159, 216, -190, 57, 159, -392, 534, -468, 144, 381, -924, 1220, -1044, 312, 833, -1992, 2625, -2244, 669, 1746, -4138, 5382, -4530, 1332, 3474, -8184, 10591, -8886, 2607, 6724, -15711
Offset: 0

Views

Author

N. J. A. Sloane, Jun 14 2000

Keywords

Crossrefs

Product_{k>0} ((1-x^{5k-1}) * (1-x^{5k-4})/((1-x^{5k-2}) * (1-x^{5k-3})))^m: A285444 (m=-4), A285443 (m=-3), A285442 (m=-2), A003823 (m=-1), A007325 (m=1), A055101 (m=2), this sequence (m=3), A055103 (m=4).

Formula

a(0) = 1, a(n) = -(3/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0. - Seiichi Manyama, Apr 16 2017
G.f.: ( Sum_{k in Z} x^(2*k) / (1 - x^(5*k+2)) ) / ( Sum_{k in Z} x^k / (1 - x^(5*k+1)) ). - Seiichi Manyama, Jul 29 2024

Extensions

More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), Jun 20 2000

A055103 Expansion of 4th power of continued fraction 1/ ( 1+q/ ( 1+q^2/ ( 1+q^3/ ( 1+q^4/... )))).

Original entry on oeis.org

1, -4, 10, -16, 15, 0, -30, 64, -81, 60, 12, -128, 250, -312, 234, 32, -443, 848, -1014, 720, 109, -1312, 2448, -2880, 2033, 280, -3550, 6512, -7513, 5184, 744, -8832, 15980, -18252, 12492, 1712, -20745, 37168, -41942, 28352, 3918, -46288, 82146
Offset: 0

Views

Author

N. J. A. Sloane, Jun 14 2000

Keywords

Crossrefs

See A007325 for first power (which has an alternative g.f.), A055101 for square, A055102 for cube.

Formula

a(0) = 1, a(n) = -(4/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0. - Seiichi Manyama, Apr 16 2017

Extensions

More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), Jun 20 2000

A285443 Expansion of Product_{k>0} ((1-x^{5k-2}) * (1-x^{5k-3})/((1-x^{5k-1}) * (1-x^{5k-4})))^3 in powers of x.

Original entry on oeis.org

1, 3, 3, -2, -6, 0, 12, 9, -15, -28, 3, 48, 33, -48, -87, 7, 135, 90, -134, -234, 21, 356, 237, -330, -575, 42, 831, 540, -762, -1296, 107, 1848, 1191, -1633, -2769, 210, 3842, 2448, -3366, -5634, 444, 7722, 4889, -6624, -11028, 840, 14871, 9342, -12636, -20877
Offset: 0

Views

Author

Seiichi Manyama, Apr 19 2017

Keywords

Crossrefs

Prod_{k>0} ((1-x^{5k-1}) * (1-x^{5k-4})/((1-x^{5k-2}) * (1-x^{5k-3})))^m: A285444 (m=-4), this sequence (m=-3), A285442 (m=-2), A003823 (m=-1), A007325 (m=1), A055101 (m=2), A055102 (m=3), A055103 (m=4).

Formula

a(0) = 1, a(n) = (3/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0.
Expansion of cube of continued fraction 1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...)))). - Ilya Gutkovskiy, Apr 19 2017
G.f.: ( Sum_{k in Z} x^k / (1 - x^(5*k+1)) ) / ( Sum_{k in Z} x^(2*k) / (1 - x^(5*k+2)) ). - Seiichi Manyama, Jul 29 2024

A285444 Expansion of Product_{k>0} ((1-x^{5k-2}) * (1-x^{5k-3})/((1-x^{5k-1}) * (1-x^{5k-4})))^4 in powers of x.

Original entry on oeis.org

1, 4, 6, 0, -11, -8, 18, 32, -10, -72, -42, 96, 153, -40, -288, -160, 344, 524, -146, -944, -501, 1080, 1602, -416, -2727, -1436, 2970, 4336, -1131, -7176, -3694, 7616, 10942, -2776, -17562, -8960, 18136, 25784, -6528, -40608, -20472, 41176, 57974, -14464
Offset: 0

Views

Author

Seiichi Manyama, Apr 19 2017

Keywords

Crossrefs

Prod_{k>0} ((1-x^{5k-1}) * (1-x^{5k-4})/((1-x^{5k-2}) * (1-x^{5k-3})))^m: this sequence (m=-4), A285443 (m=-3), A285442 (m=-2), A003823 (m=-1), A007325 (m=1), A055101 (m=2), A055102 (m=3), A055103 (m=4).

Formula

a(0) = 1, a(n) = (4/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0.
Expansion of 4th power of continued fraction 1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...)))). - Ilya Gutkovskiy, Apr 19 2017

A286509 Square array A(n,k), n>=0, k>=0, read by antidiagonals, where column k is the expansion of k-th power of continued fraction 1/(1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + x^5/(1 + ...)))))).

Original entry on oeis.org

1, 1, 0, 1, -1, 0, 1, -2, 1, 0, 1, -3, 3, 0, 0, 1, -4, 6, -2, -1, 0, 1, -5, 10, -7, -1, 1, 0, 1, -6, 15, -16, 3, 4, -1, 0, 1, -7, 21, -30, 15, 6, -6, 1, 0, 1, -8, 28, -50, 40, 0, -17, 6, 0, 0, 1, -9, 36, -77, 84, -26, -30, 24, -3, -1, 0, 1, -10, 45, -112, 154, -90, -30, 64, -21, -2, 2, 0, 1, -11, 55, -156, 258, -217, 15, 125, -81, 6, 9, -3, 0
Offset: 0

Views

Author

Ilya Gutkovskiy, May 10 2017

Keywords

Examples

			Square array begins:
1,  1,  1,  1,   1,   1,  ...
0, -1, -2, -3,  -4,  -5,  ...
0,  1,  3,  6,  10,  15,  ...
0,  0, -2, -7, -16, -30,  ...
0, -1, -1,  3,  15,  40,  ...
0,  1,  4,  6,   0, -26,  ...
		

Crossrefs

Columns k=0-5 give: A000007, A007325, A055101, A055102, A055103, A078905 (with offset 0).
Rows n=0-2 give: A000012, A001489, A000217.
Main diagonal gives A291651.
Antidiagonal sums give A302015.

Programs

  • Mathematica
    Table[Function[k, SeriesCoefficient[1/(1 + ContinuedFractionK[x^i, 1, {i, 1, n}])^k, {x, 0, n}]][j - n], {j, 0, 12}, {n, 0, j}] // Flatten
    Table[Function[k, SeriesCoefficient[Product[(1 - x^(5 i - 1)) (1 - x^(5 i - 4))/((1 - x^(5 i - 2)) (1 - x^(5 i - 3))), {i, n}]^k, {x, 0, n}]][j - n], {j, 0, 12},{n, 0, j}] // Flatten

Formula

G.f. of column k: Product_{j>=1} ((1 - x^(5*j-1))*(1 - x^(5*j-4)) / ((1 - x^(5*j-2))*(1 - x^(5*j-3))))^k.

A285442 Expansion of Product_{k>0} ((1-x^{5k-2}) * (1-x^{5k-3})/((1-x^{5k-1}) * (1-x^{5k-4})))^2 in powers of x.

Original entry on oeis.org

1, 2, 1, -2, -2, 2, 5, 0, -8, -6, 7, 14, 1, -18, -15, 14, 30, 2, -40, -32, 32, 66, 6, -82, -65, 60, 125, 8, -157, -120, 117, 238, 19, -286, -222, 206, 419, 28, -507, -386, 366, 732, 55, -864, -659, 610, 1224, 86, -1442, -1090, 1016, 2024, 147, -2350, -1775, 1632
Offset: 0

Views

Author

Seiichi Manyama, Apr 19 2017

Keywords

Crossrefs

Product_{k>0} ((1-x^{5k-1}) * (1-x^{5k-4})/((1-x^{5k-2}) * (1-x^{5k-3})))^m: A285444 (m=-4), A285443 (m=-3), this sequence (m=-2), A003823 (m=-1), A007325 (m=1), A055101 (m=2), A055102 (m=3), A055103 (m=4).

Programs

  • Mathematica
    nmax = 60; CoefficientList[Series[Product[((1-x^(5k-2)) * (1-x^(5k-3)) / ((1-x^(5k-1)) * (1-x^(5k-4))))^2, {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Oct 13 2017 *)

Formula

a(0) = 1, a(n) = (2/n)*Sum_{k=1..n} A109091(k)*a(n-k) for n > 0.
Expansion of square of continued fraction 1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...)))). - Ilya Gutkovskiy, Apr 19 2017
From Seiichi Manyama, Jul 29 2024: (Start)
G.f.: ( Sum_{k in Z} x^k / (1 - x^(5*k+1)) ) / ( Sum_{k in Z} x^(3*k) / (1 - x^(5*k+1)) ).
G.f.: ( Sum_{k in Z} x^k / (1 - x^(5*k+2)) ) / ( Sum_{k in Z} x^(2*k) / (1 - x^(5*k+2)) ). (End)

A285636 G.f.: (1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...))))) / (1 - x/(1 - x^2/(1 - x^3/(1 - x^4/(1 - ...))))), a continued fraction.

Original entry on oeis.org

1, 2, 2, 2, 4, 8, 14, 22, 36, 64, 114, 198, 340, 586, 1018, 1772, 3076, 5332, 9248, 16054, 27872, 48376, 83952, 145700, 252888, 438938, 761846, 1322286, 2295022, 3983384, 6913822, 12000054, 20828006, 36150354, 62744812, 108903838, 189020310, 328075444, 569428264, 988335418, 1715417004
Offset: 0

Views

Author

Ilya Gutkovskiy, Apr 23 2017

Keywords

Examples

			G.f.: A(x) = 1 + 2*x + 2*x^2 + 2*x^3 + 4*x^4 + 8*x^5 + 14*x^6 + 22*x^7 + 36*x^8 + 64*x^9 + ...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 381.

Crossrefs

Programs

  • Maple
    A10:= [1, seq([x^i,1],i=1..10)]: B10:= [1, seq([-x^i,1],i=1..10)]:
    S:= series(numtheory:-nthconver(A10,10)/numtheory:-nthconver(B10,10),x,51):
    A:= [seq(coeff(S,x,i),i=0..50)]; # Robert Israel, Dec 15 2024
  • Mathematica
    nmax = 40; CoefficientList[Series[(1/(1 + ContinuedFractionK[-x^k, 1, {k, 1, nmax}]))/(1/(1 + ContinuedFractionK[x^k, 1, {k, 1, nmax}])), {x, 0, nmax}], x]
    nmax = 40; CoefficientList[Series[Sum[(-1)^k x^(k (k + 1))/Product[(1 - x^m), {m, 1, k}], {k, 0, nmax}] / (Product[(1 - x^(5 k - 1)) (1 - x^(5 k - 4))/((1 - x^(5 k - 2)) (1 - x^(5 k - 3))), {k, 1, nmax}]  Sum[(-1)^k x^(k^2)/Product[(1 - x^m), {m, 1, k}], {k, 0, nmax}]), {x, 0, nmax}], x]

Formula

G.f.: A(x) = P(x)/(R(x)*Q(x)), where P(x) = Sum_{k>=0} (-1)^k*x^(k*(k+1)) / Product_{m=1..k} (1 - x^m), R(x) = Product_{k>=1} (1 - x^(5*k-1))*(1 - x^(5*k-4)) / ((1 - x^(5*k-2))*(1 - x^(5*k-3))) and Q(x) = Sum_{k>=0} (-1)^k*x^(k^2) / Product_{m=1..k} (1 - x^m).
a(n) ~ c / r^n, where r = A347901 = 0.576148769142756602297868573719938782354724663118974... is the lowest root of the equation Sum_{k>=0} (-1)^k * r^(k^2) / QPochhammer(r, r, k) = 0 and c = 0.452642356466453742995961374156022446123012... - Vaclav Kotesovec, Aug 26 2017, updated Sep 24 2020

A285637 G.f.: 1/( (1 - x/(1 - x^2/(1 - x^3/(1 - x^4/(1 - ...))))) * (1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...))))) ), a continued fraction.

Original entry on oeis.org

1, 0, 1, 2, 1, 4, 6, 10, 19, 30, 55, 92, 161, 282, 483, 846, 1462, 2538, 4409, 7642, 13276, 23032, 39977, 69394, 120426, 209036, 362800, 629698, 1092952, 1896968, 3292522, 5714678, 9918752, 17215620, 29880461, 51862438, 90015657, 156236814, 271174435, 470667300, 816919764, 1417897172, 2460991365
Offset: 0

Views

Author

Ilya Gutkovskiy, Apr 23 2017

Keywords

Examples

			G.f.: A(x) = 1 + x^2 + 2*x^3 + x^4 + 4*x^5 + 6*x^6 + 10*x^7 + 19*x^8 + 30*x^9 + 55*x^10 + ...
		

Crossrefs

Programs

  • Mathematica
    nmax = 42; CoefficientList[Series[(1/(1 + ContinuedFractionK[-x^k, 1, {k, 1, nmax}])) (1/(1 + ContinuedFractionK[x^k, 1, {k, 1, nmax}])), {x, 0, nmax}], x]
    nmax = 42; CoefficientList[Series[Product[(1 - x^(5 k - 1)) (1 - x^(5 k - 4))/((1 - x^(5 k - 2)) (1 - x^(5 k - 3))), {k, 1, nmax}] Sum[(-1)^k x^(k (k + 1))/Product[(1 - x^m), {m, 1, k}], {k, 0, nmax}] / Sum[(-1)^k x^(k^2)/Product[(1 - x^m), {m, 1, k}], {k, 0, nmax}], {x, 0, nmax}], x]

Formula

G.f.: A(x) = R(x)*P(x)/Q(x), where R(x) = Product_{k>=1} (1 - x^(5*k-1))*(1 - x^(5*k-4)) / ((1 - x^(5*k-2))*(1 - x^(5*k-3))), P(x) = Sum_{k>=0} (-1)^k*x^(k*(k+1)) / Product_{m=1..k} (1 - x^m) and Q(x) = Sum_{k>=0} (-1)^k*x^(k^2) / Product_{m=1..k} (1 - x^m).
a(n) ~ c * d^n, where d = 1/A347901 = 1.7356628245303474256582607497196685302546528472903927546099... and c = 0.215558365582078354136603033062960103377669... - Vaclav Kotesovec, Aug 26 2017

A285554 Expansion of q^(-2/5) * (r(q^2) - r(q)^2) / 2 in powers of q where r() is the Rogers-Ramanujan continued fraction.

Original entry on oeis.org

0, 1, -2, 1, 1, -2, 3, -3, 1, 1, -4, 8, -9, 5, 3, -12, 18, -18, 10, 5, -22, 37, -40, 21, 12, -47, 72, -71, 38, 19, -84, 133, -135, 73, 38, -156, 235, -232, 124, 61, -264, 407, -404, 216, 109, -455, 682, -664, 354, 172, -738, 1117, -1094, 582, 286, -1203, 1793
Offset: 0

Views

Author

Seiichi Manyama, Apr 21 2017

Keywords

Crossrefs

Formula

a(2n) = (A007325(n) - A055101(2n)) / 2, a(2n+1) = -A055101(2n+1) / 2.
Showing 1-10 of 15 results. Next