This question already has an answer here:

Will Prime and PrimePi test up to 3 * 10^12? Where can I find the limits for these funtions? Also, what are the limits for PrimeOmega and PrimeNu? More generally, is there any documentation that gives limits for all of Mathematica's functions?


marked as duplicate by rm -rf Dec 24 '13 at 22:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Try here $\endgroup$ – cormullion Dec 14 '13 at 11:36
  • $\begingroup$ I can't find the answer there unfortunately $\endgroup$ – martin Dec 14 '13 at 11:48
  • 2
    $\begingroup$ The maximum of Prime has been discussed here: mathematica.stackexchange.com/questions/3327/… $\endgroup$ – C. E. Dec 14 '13 at 11:59
  • 2
    $\begingroup$ Ilian Gachevski mentions over at wolfram community that PrimeQ is valid up to $2^{64}$ $\endgroup$ – ssch Dec 14 '13 at 12:25
  • 1
    $\begingroup$ Test in PrimalityProving is correct for all natural numbers but is much slower. $\endgroup$ – Artes Dec 14 '13 at 13:05