Sponsored links: Algebra eBooks
 

Related

jacobi-lambda-map

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

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

Calculate

jacobi-lambda-map

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

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

jacobi (-23, 59);

Calculate

jacobi

jacobi(3, 35);

Calculate

jacobi

jacobi(10388,99023);

Calculate

jacobi-lambda-map

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

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

Calculate

jacobi

jacobi(511,2047);

Calculate

jacobi

jacobi(133,33);

Calculate

jacobi

jacobi (420526487, 32...

Calculate

jacobi-lambda-map

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

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

jacobi (1234, 4567);

Calculate

jacobi

jacobi(2333,3673);

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