
欧拉函数
文章平均质量分 84
ctrss
这个作者很懒,什么都没留下…
展开
-
poj 3090 Visible Lattice Points 欧拉函数打表求和
Visible Lattice PointsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6329 Accepted: 3774DescriptionA lattice point (x, y) in the first quadrant (x an原创 2016-04-21 21:59:46 · 342 阅读 · 0 评论 -
poj 2478 Farey Sequence 欧拉函数递推打表
Farey SequenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14434 Accepted: 5719DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the原创 2016-04-21 21:24:50 · 325 阅读 · 0 评论 -
poj2773 欧拉函数+整除性质
Happy 2006Time Limit: 3000MS Memory Limit: 65536KTotal Submissions: 10751 Accepted: 3744DescriptionTwo positive integers are said to be relatively prime to each o原创 2016-04-19 23:05:54 · 597 阅读 · 0 评论 -
poj 1284欧拉函数求素数元根个数
Primitive RootsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3601 Accepted: 2101DescriptionWe say that integer x, 0 i mod p) | 1 <= i <= p-1 } is eq原创 2016-04-19 09:50:55 · 628 阅读 · 0 评论 -
poj2407欧拉函数模板
第一次接触欧拉函数,phi(x)为小于等于x且与x互质的数的个数……先介绍一些基本定理1.定义在所有正整数上的函数成为算数函数。2.一个算术函数f,如果对于两个互素整数m,n有f(nm)=f(n)*f(m)则称f为积性函数。如果对于任意两个正整数mn有f(nm)=f(n)*f(m)则称f为完全积性函数。3.如果f是一个积性函数,则对于正整数n=p1^a1*p2^a2……(pi为素数),原创 2016-04-18 22:41:06 · 917 阅读 · 0 评论