Al Queen Sequence

The number of triangles with integer sides and perimeter n n is equal to :

Note: In the options, distinct means "pairwise distinct".

None of the above The number of triangles with distinct integer sides and perimeter n + 2 n + 2 The number of triangles with distinct integer sides and perimeter n + 6 n + 6 The number of triangles with distinct integer sides and perimeter n + 4 n + 4

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Calvin Lin Staff
May 4, 2015

We will establish a bijection between the number of triangles with integer sides and perimeter n n (Type 1), and the number of triangles with distinct integer sides and perimeter n + 6 n+6 (Type 2).

Given a triangle in Type 1, let it have side lengths a b c a \leq b \leq c , satisfying the triangle inequality a + b > c a + b > c . We create a triangle in Type 2 of lengths a + 1 , b + 2 , c + 3 a + 1, b + 2, c + 3 , satisfying a + 1 < b + 2 < c + 3 a+1 < b + 2 < c +3 and perimeter is a + b + c + 6 a + b + c + 6 . This also satisfies the triangle inequality since ( a + 1 ) + ( b + 2 ) > c + 3 (a+1) + (b+2) > c + 3 .

Conversely, given a triangle in Type 2, let it have sides lengths A < B < C A < B < C , satisfying the triangle inequality A + B > C A + B > C . We create a triangle in Type 1 of lengths A 1 , B 2 , C 3 A - 1, B - 2, C - 3 satisfying A 1 B 2 C 3 A - 1 \leq B - 2 \leq C - 3 and perimeter A + B + C 6 A + B + C - 6 .

This establishes the bijection between these two sets.


Note: The number of triangles with integer sides and perimeter n n is known as the Alcuin sequence , hence the name of this problem. It is given by the generating function

x 3 ( 1 x 2 ) ( 1 x 3 ) ( 1 x 4 ) . \frac{ x^3 } { ( 1 - x^2 ) ( 1 - x^3 ) ( 1 - x^4) }.

if n = 3. there is only (1,1,1). So the number of triangle with integer sides and perimeter 3. But n + 6 = 9. We have (3,3,3) and the other set (2,3,4). Both of them are suitable for that. Did U wrong?

vu van luan - 6 years, 1 month ago

Log in to reply

We have (3,3,3)

That's not distinct.

Avi Eisenberg - 6 years, 1 month ago

In the final inequality between A - 1, B - 2, C - 3, it should be less than or equal to.

Ben Symington - 4 years, 11 months ago

Log in to reply

Thanks! That is a good point. I have edited the solution :)

Calvin Lin Staff - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...