---
id: 5900f3991000cf542c50feac
challengeType: 5
title: 'Problem 45: Triangular, pentagonal, and hexagonal'
videoUrl: ''
localeTitle: 问题45：三角形，五边形和六边形
---

## Description
undefined

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>triPentaHexa(40756)</code>应该返回1533776805。
    testString: 'assert.strictEqual(triPentaHexa(40756), 1533776805, "<code>triPentaHexa(40756)</code> should return 1533776805.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function triPentaHexa(n) {
  // Good luck!
  return true;
}

triPentaHexa(40756);

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
