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.

A355880 a(n) is a maximum of t*u*v such that 2*t*u + 2*t*v + 2*u*v <= n, where t,u,v are positive integers.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 6, 6, 8, 8, 8, 8, 8, 8, 9, 9, 12, 12, 12, 12, 12, 12, 12, 12, 16, 16, 18, 18, 18, 18, 18, 18, 20, 20, 20, 20, 24, 24, 27, 27, 27, 27, 27, 27, 27, 27, 30, 30, 32, 32, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 40
Offset: 1

Views

Author

Gleb Ivanov, Jul 20 2022

Keywords

Comments

The largest volume of a rectangular cuboid with a surface area less than or equal to n.

Crossrefs

Cf. A008642.

Programs

  • Python
    for k in range(1, 200):
        max_v = 0
        for a in range(1, k):
            for b in range(1, a+1):
                for c in range(1, b+1):
                    if 2*a*b + 2*a*c + 2*b*c <= k and a*b*c > max_v:
                        max_v = a*b*c
        print(max_v, end = ', ')