Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-356-largest-roots-of-cubic-polynomials.md

971 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f4d01000cf542c50ffe3 Задача 356: Найбільші корені кубічних поліномів 5 302016 problem-356-largest-roots-of-cubic-polynomials

--description--

Нехай an - найбільший дійсний корінь полінома g(x) = x^3 - 2^n \times x^2 + n.

Наприклад, a_2 = 3.86619826\ldots

Знайдіть останні вісім цифр \displaystyle\sum_{i = 1}^{30} \lfloor {a_i}^{987654321}\rfloor.

Зверніть увагу:\lfloor a\rfloor представляє функцію підлога.

--hints--

rootsOfCubicPolynomials() повинен повернути 28010159.

assert.strictEqual(rootsOfCubicPolynomials(), 28010159);

--seed--

--seed-contents--

function rootsOfCubicPolynomials() {

  return true;
}

rootsOfCubicPolynomials();

--solutions--

// solution required