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.

A216274 Square array A(n,k) = maximal number of regions into which k-space can be divided by n hyperplanes (k >= 1, n >= 0), read by antidiagonals.

Original entry on oeis.org

1, 1, 2, 1, 2, 3, 1, 2, 4, 4, 1, 2, 4, 7, 5, 1, 2, 4, 8, 11, 6, 1, 2, 4, 8, 15, 16, 7, 1, 2, 4, 8, 16, 26, 22, 8, 1, 2, 4, 8, 16, 31, 42, 29, 9, 1, 2, 4, 8, 16, 32, 57, 64, 37, 10, 1, 2, 4, 8, 16, 32, 63, 99, 93, 46, 11, 1, 2, 4, 8, 16, 32, 64, 120, 163, 130, 56, 12
Offset: 0

Views

Author

Frank M Jackson, Mar 16 2013

Keywords

Comments

For all fixed k, the sequences A(n,k) are "complete" (sic).
This array is similar to A145111 with first variation at 34th term.

Examples

			Square array A(n,k) begins:
  1,  1,  1,  1,  1,  1, ...
  2,  2,  2,  2,  2,  2, ...
  3,  4,  4,  4,  4,  4, ...
  4,  7,  8,  8,  8,  8, ...
  5, 11, 15, 16, 16, 16, ...
  6, 16, 26, 31, 32, 32, ...
So the maximal number of pieces into which a cube can be divided after 5 planar cuts is A(5,3) = 26.
		

Crossrefs

Programs

  • Mathematica
    getvalue[n_, k_] := Sum[Binomial[n, i], {i, 0, k}]; lexicographicLattice[{dim_, maxHeight_}] := Flatten[Array[Sort@Flatten[(Permutations[#1] &) /@IntegerPartitions[#1+dim-1, {dim}], 1] &, maxHeight], 1]; pairs = lexicographicLattice[{2, 12}]-1; Table[getvalue[First[pairs[[j]]], Last[pairs[[j]]]+1], {j, 1, Length[pairs]}]

Formula

A(k,n) = Sum_{i=0..k} C(n, i), k >=1, n >= 0.

Extensions

Edited by N. J. A. Sloane, May 20 2023