Created
July 11, 2024 19:17
-
-
Save ElianFabian/511a17f61dae35091320681a8fcec2d1 to your computer and use it in GitHub Desktop.
Example of how to use PARI/GP inside PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-PrimeNumber([ulong] $position) { | |
return [System.UInt128] ("prime($position)" | gp.exe -q) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment