Sponsored links: Algebra eBooks
 

Related

jacobi

jacobi(19,13);

Calculate

jacobi

jacobi(1234567,5360355);

Calculate

jacobi

jacobi(1, 2);

Calculate

jacobi-lambda-map

l: [330];

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

Calculate

jacobi

jacobi (5 , 31);

Calculate

jacobi

jacobi (18344,34189);

Calculate

jacobi

jacobi (5, 1772035329...

Calculate

jacobi

jacobi(11,7);

Calculate

jacobi-lambda-map

l: [5, -7, 9, -11, 13...

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

Calculate

jacobi-lambda-map

l: [1, 2, 3, 4, 5, 6,...

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

jacobi (71, 73);

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