Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -1,8 +1,8 @@
|
|||
F jacobi(=a, =n)
|
||||
I n <= 0
|
||||
X ValueError(‘'n' must be a positive integer.’)
|
||||
X.throw ValueError(‘'n' must be a positive integer.’)
|
||||
I n % 2 == 0
|
||||
X ValueError(‘'n' must be odd.’)
|
||||
X.throw ValueError(‘'n' must be odd.’)
|
||||
a %= n
|
||||
V result = 1
|
||||
L a != 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue