TOPICS
Search

Alcuin's Sequence


Alcuin's sequence counts triangles with positive integer side lengths by perimeter. For perimeters 0, 1, 2, ..., it begins 0, 0, 0, 1, 0, 1, 1, 2, 1, 3, 2, ... (OEIS A005044). Writing a_n for the count at perimeter n+3, the shifted counts are 1, 0, 1, 1, 2, 1, 3, 2, 4, 3, .... These are the coefficients of the Maclaurin series for

 1/((1-x^2)(1-x^3)(1-x^4))=1+x^2+x^3+2x^4+x^5+....
(1)
AlcuinsSequence

A binary plot of the first few terms in the sequence is illustrated above.

Closed forms include

a_n=1/(288){107+54n+6n^2+(-1)^n[81+18n+64cos(1/3pin)]+36[cos(1/2pin)-sin(1/2pin)]}
(2)
=1/(288){107+54n+6n^2+(-1)^n[81+18n+64cos(1/3pin)]+36(-1)^(|_(n+1)/2_|)},
(3)

where |_x_| is the floor function.

The number of different triangles which have integral sides and perimeter n is given by

T(n)=P_3(n)-sum_(1<=j<=|_n/2_|)P_2(j)
(4)
=[(n^2)/(12)]-|_n/4_||_(n+2)/4_|
(5)
={[(n^2)/(48)] for n even; [((n+3)^2)/(48)] for n odd,
(6)

where P_2(n) and P_3(n) are partition functions, with P_k(n) giving the number of ways of writing n as a sum of k positive integers, [x] is the nearest integer function, and |_x_| is the floor function (Andrews 1979, Jordan et al. 1979, Honsberger 1985). The count T(n) for n=3, 4, ... is precisely the shifted list displayed above, with T(n)=a_(n-3).


See also

Integer Triangle, Partition Function P, Triangle Dissection

Explore with Wolfram|Alpha

References

Andrews, G. E. "A Note on Partitions and Triangles with Integer Sides." Amer. Math. Monthly 86, 477-478, 1979. https://doi.org/10.1080/00029890.1979.11994832.Honsberger, R. Mathematical Gems III. Washington, DC: Math. Assoc. Amer., pp. 39-47, 1985.Jordan, J. H.; Walch, R.; and Wisner, R. J. "Triangles with Integer Sides." Amer. Math. Monthly 86, 686-689, 1979.Sloane, N. J. A. Sequence A005044/M0146 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Alcuin's Sequence

Cite this as:

Weisstein, Eric W. "Alcuin's Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/AlcuinsSequence.html

Subject classifications