← Complete problem index

PROJECT EULER · #0320

Factorials Divisible by a Huge Integer

Statement only · SolvedOriginal problem ↗

Let N(i) be the smallest integer n such that n! is divisible by (i!)1234567890

Let S(u)=N(i) for 10iu.

S(1000)=614538266565663.

Find S(1000000)mod1018.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.