708. Twos Are All You Need

A positive integer, n, is factorised into prime factors. We define f(n) to be the product when each prime factor is replaced with 2. In addition we define f(1)=1.

For example, 90=2×3×3×5, then replacing the primes, 2×2×2×2=16, hence f(90)=16.

Let S(N)=n=1Nf(n). You are given S(108)=9613563919.

Find S(1014).

708. 有 2 就足够

我们将正整数 n 作质因数分解,并把每个质因数替换成 2 后的新乘积记作 f(n)。额外规定 f(1)=1

例如,90=2×3×3×5,将每个质因数替换成 2 后得到 2×2×2×2=16,故 f(90)=16

S(N)=n=1Nf(n)。已知 S(108)=9613563919

S(1014)


这个链接 回到源站。

这个链接 回到详细版题目目录。