864. Square + 1 = Squarefree

Let C(n) be the number of squarefree integers of the form x2+1 such that 1xn.

For example, C(10)=9 and C(1000)=895.

Find C(123567101113).

864. 平方数 + 1 = 无平方因子数

C(n) 表示 [1,n] 的正整数中,满足 x2+1 无平方因子的正整数 x 的个数。例如:C(10)=9C(1000)=895

C(123567101113)


这个链接 回到源站。

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