24 lines
718 B
Markdown
24 lines
718 B
Markdown
---
|
||
id: 5900f41a1000cf542c50ff2c
|
||
title: 问题173:使用多达一百万个瓷砖可以形成多少个不同的“空心”方形薄片?
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
我们将方形薄片定义为具有方形“孔”的方形轮廓,使得该形状具有垂直和水平对称性。例如,使用正好三十二平方的瓷砖,我们可以形成两个不同的方形薄片:
|
||
|
||
使用一百个瓷砖,并且不一定一次使用所有瓷砖,可以形成四十一个不同的方形薄片。使用多达一百万个瓷砖可以形成多少个不同的方形薄片?
|
||
|
||
# --hints--
|
||
|
||
`euler173()`应该返回1572729。
|
||
|
||
```js
|
||
assert.strictEqual(euler173(), 1572729);
|
||
```
|
||
|
||
# --solutions--
|
||
|