56 lines
1.5 KiB
Markdown
56 lines
1.5 KiB
Markdown
---
|
||
id: 5900f4311000cf542c50ff43
|
||
challengeType: 5
|
||
title: 'Problem 195: Inscribed circles of triangles with one angle of 60 degrees'
|
||
videoUrl: ''
|
||
localeTitle: 'Задача 195: Вписанные круги треугольников с одним углом 60 градусов'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Назовем целочисленный односторонний треугольник с ровно одним углом 60 градусов на 60-градусный треугольник. Пусть r - радиус вписанной окружности такого 60-градусного треугольника. Существует 1234 60-градусных треугольников, для которых r ≤ 100. Пусть T (n) - число треугольников с 60 градусами, для которых r ≤ n, поэтому T (100) = 1234, T (1000) = 22767 и T 10000) = 359912. <p> Найдите T (1053779). </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler195()</code> должен вернуть 75085391.
|
||
testString: 'assert.strictEqual(euler195(), 75085391, "<code>euler195()</code> should return 75085391.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler195() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler195();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|