Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
isprime - 素数判定
使い方
isprime(n)
パラメータ
n - 整数
説明
関数 isprime は、確率的素数判定ルーチンです。
n が強擬似素数判定法および Lucas 判定法で合成数であることが示されると false を返し、そうでないときは true を返します。 isprime が true を返したとき、n は「ほぼ確実に」素数です。 参考文献としては Knuth ``The art of computer programming'' Vol 2、第 2 版の 4.5.4 節 , Algorithm P、また H. Riesel, ``Prime numbers and computer methods for factorization'' を参照して下さい。反例は知られていません。また、そのような反例が何百桁長であるにちがいないと予想されています。
参照
type[prime], nextprime, prevprime, ithprime
Download Help Document