ChaseDream
搜索
12下一页
返回列表 发新帖
查看: 1425|回复: 12
打印 上一主题 下一主题

请教PREP 37题,看不懂啊。。。

[复制链接]
跳转到指定楼层
楼主
发表于 2011-6-7 20:31:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
The function f is defined for all positive integers n by the following rule:  f(n) is the number of positive integers each of which is less than n and has no positive factor in common with n other than 1.  If p is any prime number then f(p) =


(A) p - 1
(B) p - 2
(C)  (p+1)/2
(D)  (p-1)/2
(E) 2


不懂f(n)到底是什么个意思啊
求指教
收藏收藏 收藏收藏
沙发
 楼主| 发表于 2011-6-7 20:55:43 | 只看该作者
米有人理我吗
板凳
发表于 2011-6-7 22:46:34 | 只看该作者
A吗?
地板
 楼主| 发表于 2011-6-7 22:47:39 | 只看该作者
是A, 这个题是什么意思啊
5#
发表于 2011-6-7 22:49:12 | 只看该作者
这个题就是说F(n)是小于N且没有与N有共同因子(除了1)的数的个数,有点绕。。
6#
 楼主| 发表于 2011-6-7 22:57:24 | 只看该作者
这个题就是说F(n)是小于N且没有与N有共同因子(除了1)的数的个数,有点绕。。
-- by 会员 FIGHTING618 (2011/6/7 22:49:12)

还是不会,请NN解释一下
7#
发表于 2011-6-7 23:02:45 | 只看该作者
因为P是质数,因此与比它小的所有数都没有除了1以外的公因子。所以选A.
8#
发表于 2011-6-8 07:55:27 | 只看该作者
Take a prime number and figure out a specific soln for that prime number.
Let p = 5. So, excluding 1, the other numbers that have no factors common with 5 are 1,2,3,4.
Let p = 7. So, excluding 1, the other numbers that have no factors common with 7 are,1,2,3,4,5,6
Do you see the pattern? For any prime number, all the numbers less than it will have no factors in common with it except 1.
So f(p) = p - 1
Answer is A
9#
发表于 2011-6-8 08:07:39 | 只看该作者
我还是没懂,那p-2怎么错了? P=7的话,减去2是5,不也没有相同的因子吗?
10#
发表于 2011-6-8 08:15:31 | 只看该作者

f(n)求的是个数 仔细看题目对F(n)的定义~~

我还是没懂,那p-2怎么错了? P=7的话,减去2是5,不也没有相同的因子吗?
-- by 会员 camelo777 (2011/6/8 8:07:39)

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

Mark一下! 看一下! 顶楼主! 感谢分享! 快速回复:

手机版|ChaseDream|GMT+8, 2025-10-5 05:03
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

© 2003-2025 ChaseDream.com. All Rights Reserved.

返回顶部