OFFSET
0,3
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.
LINKS
Giovanni Corbelli, Visual Basic routine for generating number of four-sided polygons
Giovanni Corbelli Proof of the formula: Number of k-tuples with elements in {1,2,…,N} corresponding to k-sided polygons
Sean A. Irvine, Java program (github)
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).
PROG
(Visual Basic) ' See Links.
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Corbelli, Jul 26 2021
STATUS
approved