Sponsored links: Algebra eBooks
 

Related

jacobi

jacobi(8, 27);

Calculate

jacobi

jacobi (5,49585549017...

Calculate

jacobi

jacobi (47,101);

Calculate

jacobi

jacobi (3, 118901521);

Calculate

jacobi-lambda-map

l: [54199285555128622...

map (lambda ([a], ja...

Calculate

jacobi

jacobi(24,571);

Calculate

jacobi

jacobi (-1091, 2);

Calculate

jacobi

jacobi(209,223);

Calculate

jacobi

jacobi(214, 221);

Calculate

jacobi

jacobi(1069,1995);

Calculate

jacobi

Run Example
(%i1)l: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
(%o1)               [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
(%i2)  map (lambda ([a], jacobi (a, 7)), l);
(%o2)           [1, 1, - 1, 1, - 1, - 1, 0, 1, 1, - 1, 1, - 1]
(%i3) 
Run Example
l: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
(%o1)               [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]
(%i3) (31/103);
                                      31
(%o3)                                 ---
                                      103
(%i4) 
Run Example
jacobi(5,294409);
(%o1)                                  1
(%i2) 

Related Help

Help for Jacobi