AngouriMath

Navigation

← Back to list of members

Prime​(AngouriMath.​Entity)

 Method (no overloads)

Summary

The n-th prime, prime(n): prime(1) is 2 and
prime(25) is 97. Defined on the positive whole numbers, and a
function rather than an operation on the set PP, which carries no order.
https://github.com/asc-community/AngouriMath/issues/1450

Example

Console.WriteLine(MathS.NumberTheory.Prime(25).Evaled);

Prints
97

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online