Mathematica > 素数 >

NextPrime

NextPrime[n]
n より大きい最初の素数を求める.
NextPrime[n, k]
n より大きい k 番目の素数を求める.
  • k は負でもよい.負の場合はそれ以前の素数を与える.
  • n は整数ではなくともよい.また,負でもよい. »
バージョン 6 の新機能
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team