0%

Problem 660


Problem 660


Pandigital Triangles

We call an integer sided triangle n-pandigital if it contains one angle of 120 degrees and, when the sides of the triangle are written in base n, together they use all n digits of that base exactly once.

For example, the triangle (217,248,403) is 9-pandigital because it contains one angle of 120 degrees and the sides written in base 9 are 2619,3059,4879 using each of the 9 digits of that base once.

Find the sum of the largest sides of all n-pandigital triangles with 9n18.


全数字三角形

如果一个边长为整数的三角形有一个内角为120度,且其三边长在n进制下恰好使用了全部n个数字各一次,则我们称这个三角形为n-全数字三角形。

例如,三角形(217,248,403)9-全数字三角形,因为它有一个内角为120度,而且它的三边长在9进制下分别是2619,3059,4879,恰好使用了全部9个数字各一次。

对于9n18,求所有n-全数字三角形中最长边的长度之和。


Gitalking ...