Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Jacobi Calculator

Jacobi

Function: jacobi (<p>, <q>) Returns the Jacobi symbol of <p> and <q>.

l: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
 map (lambda ([a], jacobi (a, 7)), l);

          (%i1) l: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]$
          (%i2) map (lambda ([a], jacobi (a, 9)), l);
          (%o2)         [1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0]

There are also some inexact matches for jacobi. Try ?? jacobi to see them.

(%o1)                                true
(%i2) 

Jacobi Example

Related Examples

jacobi

jacobi(3,17);

Calculate

jacobi

jacobi(1022,2047);

Calculate

jacobi

jacobi(103,379721);

Calculate

jacobi

jacobi (539,1351);

Calculate

jacobi

jacobi(51997,99961);

Calculate

jacobi

jacobi(15,17);

Calculate

jacobi

jacobi(27,13);

Calculate

jacobi

jacobi(6, 19);

Calculate

jacobi

jacobi(6491,2);

Calculate

jacobi

jacobi (4, 789142793);

Calculate