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.

A346636 a(n) is the number of quadruples (a_1, a_2, a_3, a_4) having all terms in {1,...,n} such that there exists a quadrilateral with these side lengths.

Original entry on oeis.org

0, 1, 16, 77, 236, 565, 1156, 2121, 3592, 5721, 8680, 12661, 17876, 24557, 32956, 43345, 56016, 71281, 89472, 110941, 136060, 165221, 198836, 237337, 281176, 330825, 386776, 449541, 519652, 597661, 684140, 779681, 884896, 1000417, 1126896, 1265005, 1415436
Offset: 0

Views

Author

Giovanni Corbelli, Jul 26 2021

Keywords

Comments

The existence of such a four-sided polygon implies that every element of the quadruple is less than the sum of the other elements.

Crossrefs

Formula

Formula: a(n) = n^4 - 4*binomial(n+1,4) = n^4 - (n+1)*binomial(n,3).
General formula for k-tuples: a_k(n) = n^k - k*binomial(n+1,k) = n^k - (n+1)*binomial(n,k-1).