If is the number of different ways that three regular polygons can be chosen such that their three interior angles add up to (for example, the interior angles of one square and two regular octagons add up to ), and if is the number of different cuboids with integer sides that exist with the same numerical volume and surface area (for example, for a cuboid), then find .
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.
The interior angle of an n -gon is n 1 8 0 ( n − 2 ) . For an a -gon, b -gon and c -gon to meet as needed,
a 1 8 0 ( a − 2 ) + b 1 8 0 ( b − 2 ) + c 1 8 0 ( c − 2 ) = 3 6 0
Rearranging,
a a − 2 + b b − 2 + c c − 2 = 2 ( a − 2 ) b c + ( b − 2 ) c a + ( c − 2 ) a b = 2 a b c a b c − 2 b c + a b c − 2 c a + a b c − 2 a b = 2 a b c a b c = 2 ( a b + b c + c a )
But the left-hand side of this is the volume of a cuboid with dimensions a , b , c , and the right-hand side is its surface area! So there is a one-to-one correspondence between the set of polygon triples and the set of cuboids; so A − B = 0 .
EDIT: At least, nearly! See the comment below from @Russell Turner for an explanation of the special cases with a = 1 or a = 2 .