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

A318931 a(n) = A081287(n) - n.

Original entry on oeis.org

-1, -1, -2, 1, 0, 2, 7, -2, 6, 10, -4, 5, 4, 6, 10, 0, -8, 12, 2, 0, 12, 5, 5, 4, -3, 3, -1, 7, 2, 1, 3, 3
Offset: 1

Views

Author

N. J. A. Sloane, Sep 12 2018

Keywords

Comments

Ed Pegg Jr remarks that the terms so far are remarkably small.

References

  • Ed Pegg, Jr., Email to N. J. A. Sloane, Feb 14 2008

Crossrefs

Cf. A081287.

A038666 Minimum area rectangle into which squares of sizes 1, 2, 3, ... n can be packed.

Original entry on oeis.org

1, 6, 15, 35, 60, 99, 154, 210, 300, 405, 513, 667, 836, 1035, 1265, 1512, 1794, 2139, 2491, 2890, 3344, 3822, 4352, 4928, 5547, 6230, 6956, 7749, 8586, 9486, 10450, 11475
Offset: 1

Views

Author

Keywords

References

  • R. M. Kurchan (editor), Puzzle Fun, Number 18 (December 1997), pp. 9-10.
  • R. M. Kurchan (editor), Solutions of Puzzle Fun 18, Puzzle Fun, Number 22 (2000), pp. 8-10.

Crossrefs

Formula

a(n) = A000330(n) + A081287(n). - Pontus von Brömssen, Mar 01 2024

Extensions

Corrected and extended by William Rex Marshall, Mar 23 2002 and Aug 29 2002
a(22)-a(32) from Korf, communicated by William Rex Marshall, May 03 2012

A365236 a(n) is the least number of integer-sided squares that can be packed together with the n squares 1 X 1, 2 X 2, ..., n X n to fill out a rectangle.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Warning: several terms are provisional as their intended verification effectively assumed the augmenting squares were not larger than n X n. - Peter Munn, Oct 02 2023
The definition does not exclude squares larger than n X n.
Terms for n < 10 were verified by the use of a program.
a(10) <= 5.

Examples

			Compositions of rectangles that satisfy the minimal number of augmenting squares for n. Where more than one minimal composition exists for a given n, the table shows a single example. In the table body, the numbers include both the specific mandatory and augmenting squares. a(n) is the total number of squares in the rectangle minus n.
           | 1^2   2^2   3^2   4^2   5^2   6^2   7^2   8^2   9^2  10^2 | Total
  ----------------------------------------------------------------------------
  a(1) = 0 |  1                                                        |   1
  a(2) = 1 |  2     1                                                  |   3
  a(3) = 1 |  2     1     1                                            |   4
  a(4) = 3 |  2     1     2     2                                      |   7
  a(5) = 2 |  2     1     1     2     1                                |   7
  a(6) = 4 |  2     1     3     2     1     1                          |  10
  a(7) = 3 |  1     1     1     3     1     2     1                    |  10
  a(8) = 3 |  3     2     1     1     1     1     1     1              |  11
  a(9) = 4 |  2     2     2     2     1     1     1     1     1        |  13
		

Crossrefs

Formula

a(n) <= 1 + Sum_{k = 1 .. ceiling((n - 1)/2)} (n + (1 - k)*floor(n/k) - 2). This upper bound corresponds to placing the squares with length n up to n - floor((n - 1)/2) all in one row. The remaining mandatory squares will then fit naturally into the rectangle n X (1/2)*(2*n - ceiling((n - 1)/2))*(ceiling((n - 1)/2) + 1).
a(n) > a(n - 1) - 2.

Extensions

Edited by Peter Munn, Oct 04 2023
Showing 1-3 of 3 results.