鱼C论坛

 找回密码
 立即注册
查看: 2240|回复: 0

题目234:半可整除数

[复制链接]
发表于 2017-1-6 01:47:14 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
Semidivisible numbers

For an integer n ≥ 4, we define the lower prime square root of n, denoted by lps(n), as the largest prime ≤ √n and the upper prime square root of n, ups(n), as the smallest prime ≥ √n.

So, for example, lps(4) = 2 = ups(4), lps(1000) = 31, ups(1000) = 37.
Let us call an integer n ≥ 4 semidivisible, if one of lps(n) and ups(n) divides n, but not both.

The sum of the semidivisible numbers not exceeding 15 is 30, the numbers are 8, 10 and 12.
15 is not semidivisible because it is a multiple of both lps(15) = 3 and ups(15) = 5.
As a further example, the sum of the 92 semidivisible numbers up to 1000 is 34825.

What is the sum of all semidivisible numbers not exceeding 999966663333 ?


题目:

对于一个整数 n ≥ 4,我们定义 n 的平方素数根下界 lps(n) 为 ≤ √n 的最大素数。类似定义 n 的平方素数根上界 ups(n) 为≥ √n 最小素数。

例如,lps(4)=2=ups(4),lps(1000)=31,ups(1000)=37。

如果 lps(n) 与 ups(n) 其中之一能够整除 n,但不能同时整除 n,n 为整数且 n ≥ 4,则称 n 为半可整除数。

所有不超过 15 的半可整除数的和为 30,这些数为 8,10,12。

15 不是半可整除数因为它是 lps(15)=3 和 ups(15)=5 的倍数。

进一步我们有,不超过 1000 的 92 个半可整除数的和为 34825。

所有不超过 999966663333 的半可整除数的和为多少?


想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-7-2 23:00

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表