0%

Problem 708


Problem 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).


只需要二

对正整数n作质因数分解,并记f(n)为将所有质因数均替换为2时的新乘积;此外记f(1)=1

例如,90=2×3×3×5,将质因数替换后得2×2×2×2=16,因此f(90)=16

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

S(1014)


Gitalking ...