lcm

最小公倍数

val = lcm(a, b)

(プラグイン / モジュール : iron_combinatorics.hsp)

解説

最小公倍数を返します。

関連項目

is_prime素数判定(iron_combinatorics.hsp)

サンプル逆引き (1)

06_number_theory.hsp

情報

プラグイン / モジュールiron_combinatorics.hsp
バージョン3.8
作成日2026/04/17
著作者IronHSP
URLhttps://github.com/inovia/IronHSP
備考Pure HSP
タイプ拡張命令
グループ数学
対応環境
  • その他 : Win32 / Win64
hs ファイルhsphelp\iron_combinatorics.hs