Files
gikf 397a9f0c3e fix(curriculum): clean-up Project Euler 462-480 (#43069)
* fix: clean-up Project Euler 462-480

* fix: missing image extension

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-30 08:32:21 -07:00

919 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f5471000cf542c510059 Problem 474: Last digits of divisors 5 302151 problem-474-last-digits-of-divisors

--description--

For a positive integer n and digits d, we define F(n, d) as the number of the divisors of n whose last digits equal d.

For example, F(84, 4) = 3. Among the divisors of 84 (1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84), three of them (4, 14, 84) have the last digit 4.

We can also verify that F(12!, 12) = 11 and F(50!, 123) = 17\\,888.

Find F({10}^6!, 65\\,432) \text{ modulo } ({10}^{16} + 61).

--hints--

lastDigitsOfDivisors() should return 9690646731515010.

assert.strictEqual(lastDigitsOfDivisors(), 9690646731515010);

--seed--

--seed-contents--

function lastDigitsOfDivisors() {

  return true;
}

lastDigitsOfDivisors();

--solutions--

// solution required