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.

A346637 a(n) is the number of quintuples (a_1,a_2,a_3,a_4,a_5) having all terms in {1,...,n} such that there exists a pentagon with these side-lengths.

Original entry on oeis.org

0, 1, 32, 243, 1019, 3095, 7671, 16527, 32138, 57789, 97690, 157091, 242397, 361283, 522809, 737535, 1017636, 1377017, 1831428, 2398579, 3098255, 3952431, 4985387, 6223823, 7696974, 9436725, 11477726, 13857507, 16616593, 19798619, 23450445, 27622271, 32367752
Offset: 0

Views

Author

Giovanni Corbelli, Jul 26 2021

Keywords

Comments

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

Crossrefs

Formula

a(n) = n^5 - 5*binomial(n+1,5) = n^5 - (n+1)*binomial(n,4).
General formula for k-tuples: a_k(n) = n^k - k*binomial(n+1,k) = n^k - (n+1)*binomial(n,k-1).
G.f.: x*(1 + 26*x + 66*x^2 + 21*x^3 + x^4)/(1 - x)^6. - Stefano Spezia, Sep 27 2021