最å°å…¬å€æ•°ã¨æœ€å¤§å…¬ç´„数を求ã‚ã‚‹ javascript を作ã£ã¦ã¿ã¾ã—ãŸã€‚ ã“ã¡ã‚‰ ã«å®Ÿç‰©ã‚’ãŠã„ã¦ã„ã¾ã™ã€‚ /* * 最大公約数を求ã‚ã¾ã™ * * Created by vallie on June 1, 2006 * http://blog.goo.ne.jp/vallie/ * Copyright 2006 vallie All rights reserved. * */ function gcd(x, y) { if (y == 0) return x; else return gcd(y, x % y); } å©†èŒ¶ç•™é«˜æ ¡æ•°å¦ç§‘HP åˆç‰æ•´æ•°è«–/整除性 - Wikibooks http://daisy.math.sci.ehime-u.ac.jp/users/tsuchiya/math/integer/rsa.html
{{#tags}}- {{label}}
{{/tags}}