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

A350890 Triangle T(n,k), n >= 1, 1 <= k <= n, read by rows, where T(n,k) is the number of partitions of n such that (smallest part) = k*(number of parts).

Original entry on oeis.org

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

Views

Author

Seiichi Manyama, Jan 21 2022

Keywords

Comments

Column k is asymptotic to (1 - alfa) * exp(2*sqrt(n*(k*log(alfa)^2 + polylog(2, 1 - alfa)))) * (k*log(alfa)^2 + polylog(2, 1 - alfa))^(1/4) / (2*sqrt(Pi) * sqrt(alfa + 2*k - 2*alfa*k) * n^(3/4)), where alfa is positive real root of the equation alfa^(2*k) + alfa - 1 = 0. - Vaclav Kotesovec, Jan 21 2022

Examples

			Triangle begins:
  1;
  0, 1;
  0, 0, 1;
  1, 0, 0, 1;
  1, 0, 0, 0, 1;
  1, 0, 0, 0, 0, 1;
  1, 0, 0, 0, 0, 0, 1;
  1, 1, 0, 0, 0, 0, 0, 1;
  2, 1, 0, 0, 0, 0, 0, 0, 1;
  2, 1, 0, 0, 0, 0, 0, 0, 0, 1;
  3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1;
		

Crossrefs

Row sums give A168656.
Column k=1..5 give A006141, A350893, A350894, A350898, A350899.

Programs

  • PARI
    T(n, k) = polcoef(sum(i=1, sqrtint(n\k), x^(k*i^2)/prod(j=1, i-1, 1-x^j+x*O(x^n))), n);
    
  • Ruby
    def partition(n, min, max)
      return [[]] if n == 0
      [max, n].min.downto(min).flat_map{|i| partition(n - i, min, i).map{|rest| [i, *rest]}}
    end
    def A(n)
      a = Array.new(n, 0)
      partition(n, 1, n).each{|ary|
        (1..n).each{|i|
          a[i - 1] += 1 if ary[-1] == i * ary.size
        }
      }
      a
    end
    def A350890(n)
      (1..n).map{|i| A(i)}.flatten
    end
    p A350890(14)

Formula

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

A373069 Number of partitions of n such that (smallest part) >= 4*(number of parts).

Original entry on oeis.org

1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 13, 13, 15, 16, 18, 19, 22, 23, 26, 28, 31, 33, 37, 39, 43, 46, 50, 53, 58, 61, 66, 70, 75, 79, 85, 89, 95, 100, 107, 112, 120, 126, 135, 142, 152, 160, 172, 181, 194, 205, 220, 232, 249, 263
Offset: 0

Views

Author

Seiichi Manyama, May 22 2024

Keywords

Crossrefs

Programs

  • PARI
    my(N=80, x='x+O('x^N)); Vec(sum(k=0, N, x^(4*k^2)/prod(j=1, k, 1-x^j)))

Formula

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

A373075 Number of partitions of n such that (smallest part) > 4*(number of parts).

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 13, 14, 15, 17, 18, 20, 22, 24, 26, 29, 31, 34, 37, 40, 43, 47, 50, 54, 58, 62, 66, 71, 75, 80, 85, 90, 95, 101, 106, 113, 119, 126, 133, 142, 149, 159, 168, 179, 189, 202
Offset: 0

Views

Author

Seiichi Manyama, May 22 2024

Keywords

Comments

This sequence is different from A350894.

Crossrefs

Programs

  • PARI
    my(N=80, x='x+O('x^N)); Vec(sum(k=0, N, x^(4*k^2+k)/prod(j=1, k, 1-x^j)))

Formula

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

A373076 Number of partitions of n such that (smallest part) > 5*(number of parts).

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 16, 16, 18, 19, 21, 22, 25, 26, 29, 31, 34, 36, 40, 42, 46, 49, 53, 56, 61, 64, 69, 73, 78, 82, 88, 92, 98, 103, 109, 114, 121, 126, 133, 139, 146, 152, 161
Offset: 0

Views

Author

Seiichi Manyama, May 22 2024

Keywords

Comments

This sequence is different from A350898.

Crossrefs

Programs

Formula

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

A348163 Number of partitions of n such that 4*(greatest part) = (number of parts).

Original entry on oeis.org

0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 3, 2, 3, 4, 5, 6, 8, 9, 12, 14, 16, 18, 22, 25, 30, 35, 42, 49, 60, 68, 81, 93, 109, 127, 149, 171, 200, 231, 269, 309, 359, 410, 474, 544, 625, 715, 824, 939, 1080, 1232, 1411, 1607, 1839, 2090, 2385, 2708, 3081, 3493, 3972, 4493
Offset: 1

Views

Author

Seiichi Manyama, Jan 25 2022

Keywords

Comments

Also, the number of partitions of n such that (greatest part) = 4*(number of parts).

Examples

			a(16) = 3 counts these partitions:
[3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[2, 2, 2, 2, 2, 2, 2, 2].
		

Crossrefs

Column 4 of A350879.

Programs

  • Mathematica
    nmax = 100; Rest[CoefficientList[Series[Sum[x^(5*k-1) * Product[(1 - x^(4*k+j-1)) / (1 - x^j), {j, 1, k-1}], {k, 1, nmax/5 + 1}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Oct 15 2024 *)
    nmax = 100; p = x^3; s = x^3; Do[p = Normal[Series[p*x^5*(1 - x^(5*k - 1))*(1 - x^(5*k))*(1 - x^(5*k + 1))*(1 - x^(5*k + 2))*(1 - x^(5*k + 3))/((1 - x^(4*k + 3))*(1 - x^(4*k + 2))*(1 - x^(4*k + 1))*(1 - x^(4*k))*(1 - x^k)), {x, 0, nmax}]]; s += p;, {k, 1, nmax/5 + 1}]; Take[CoefficientList[s, x], nmax] (* Vaclav Kotesovec, Oct 16 2024 *)
  • PARI
    my(N=66, x='x+O('x^N)); concat([0, 0, 0], Vec(sum(k=1, N, x^(5*k-1)*prod(j=1, k-1, (1-x^(4*k+j-1))/(1-x^j)))))

Formula

G.f.: Sum_{k>=1} x^(5*k-1) * Product_{j=1..k-1} (1-x^(4*k+j-1))/(1-x^j).
a(n) ~ Pi^4 * exp(Pi*sqrt(2*n/3)) / (2*3^(3/2)*n^3). - Vaclav Kotesovec, Oct 17 2024
Showing 1-5 of 5 results.