Search results
- from sympy import zeta, factorial # Apéry's constant via SymPy's zeta function ...31 KB (3,507 words) - 05:37, 1 February 2024
- Uses the [[wp:SymPy|SymPy]] library. <syntaxhighlight lang="python">from sympy.ntheory import sieve, isprime, prime ...19 KB (2,471 words) - 15:07, 25 December 2023
- Python has the Carmichael function in the SymPy library, where it is called reduced_totient. <syntaxhighlight lang="Python">from sympy import reduced_totient ...17 KB (1,749 words) - 17:00, 2 May 2024
- from sympy import isprime ...13 KB (1,708 words) - 22:57, 31 March 2024
- # use sympy for prime test from sympy import isprime ...67 KB (7,391 words) - 12:26, 17 November 2023
- {{libheader|SymPy}} from sympy import primefactors ...40 KB (4,414 words) - 13:50, 18 May 2024
- <syntaxhighlight lang="python">from sympy import isprime, divisors ...29 KB (3,335 words) - 11:52, 14 February 2024
- from sympy import divisors ...58 KB (4,764 words) - 15:54, 7 December 2023
- <syntaxhighlight lang="python">from sympy import isprime, primerange from sympy import isprime, primerange ...66 KB (7,533 words) - 11:34, 12 November 2023
- Uses the [[wp:SymPy|SymPy]] library. <syntaxhighlight lang="python">from sympy import isprime, lcm, factorint, primerange ...116 KB (10,033 words) - 10:02, 21 May 2024
- from sympy import nextprime ...29 KB (3,237 words) - 22:20, 15 December 2023
- from sympy import divisors <syntaxhighlight lang=python>from sympy import divisors ...66 KB (7,657 words) - 08:22, 7 April 2024
- ...to separate digits] in numbers, and th [https://www.sympy.org/en/index.htm sympy library] to aid calculations. ...ghlight lang="python"># https://docs.sympy.org/latest/modules/ntheory.html#sympy.ntheory.factor_.divisors ...146 KB (16,777 words) - 07:13, 26 January 2024
- Using [https://docs.sympy.org/latest/modules/ntheory.html sympy.isprime] >>> from sympy import isprime ...66 KB (6,543 words) - 10:53, 10 February 2024
- from sympy import sieve ...49 KB (5,800 words) - 20:21, 24 April 2024
- <syntaxhighlight lang="python">from sympy import isprime ...37 KB (3,321 words) - 04:38, 3 February 2024
- from sympy import isprime, nextprime ...34 KB (3,955 words) - 00:19, 13 April 2024
- {{libheader|sympy}} <syntaxhighlight lang="python">from sympy.ntheory.generate import primorial ...39 KB (4,031 words) - 22:16, 9 February 2024
- from sympy import isprime ...44 KB (4,226 words) - 19:35, 15 December 2023
- from sympy import isprime ...116 KB (10,170 words) - 10:52, 3 March 2024