0%

Problem 838


Problem 838


Not Coprime

Let f(N) be the smallest positive integer that is not coprime to any positive integer nN whose least significant digit is 3.

For example f(40) equals to 897=31323 since it is not coprime to any of 3,13,23,33. By taking the natural logarithm (log to base e) we obtain lnf(40)=ln8976.799056 when rounded to six digits after the decimal point.

You are also given lnf(2800)715.019337.

Find f(106). Enter its natural logarithm rounded to six digits after the decimal point.


不互质

f(N)为最小的、与所有小于等于N且末位为3的数都不互质的正整数。

例如,f(40)等于897=31323,因为它和3,13,23,33中的任意一个都不互质。对这个数取自然对数(以e为底的对数)并保留六位小数,可得lnf(40)=ln8976.799056

已知lnf(2800)715.019337

f(106),取其自然对数并保留六位小数作为答案。


Gitalking ...