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.

A373241 T(n,k) is the difference between the number of different parts and the number of different multiplicities in the k-th partition of n in graded reverse lexicographic ordering (A080577).

Original entry on oeis.org

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

Views

Author

Olivier Gérard, May 29 2024

Keywords

Comments

This difference is always nonnegative.
The number of zero values in each row is A098859.
The number of ones in each row is A325244.
The number of positive entries in each row is A336866.
The corresponding regular triangle for partitions of n of length k is A373242.
The sum of each row is A373243.

Examples

			The array begins
  0
  0,0
  0,1,0
  0,1,0,0,0
  0,1,1,0,0,0,0
  0,1,1,0,0,2,0,0,1,0,0
  0,1,1,0,1,2,0,0,0,1,0,0,0,0,0
  0,1,1,0,1,2,0,0,2,0,1,0,0,1,1,1,0,0,0,0,0,0
  0,1,1,0,1,2,0,1,2,0,1,0,0,2,1,1,1,0,0,1,0,0,1,1,0,0,1,0,0,0
  ...
		

Crossrefs

Cf. A373269 a triangle of the same shape and order for number of multiplicities.

Programs

  • Mathematica
    Flatten @ Table[
      Map[Length[Union[#]] - Length[Union[Length /@ Split[#]]] &,
       IntegerPartitions[n]], {n, 1, 20}]