Sponsored links: Algebra eBooks
 

Related

jacobi-lambda-map

l: [1, 2, 4, 5, 8, 10...

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

Calculate

jacobi

jacobi(2346216,2606868);

Calculate

jacobi-lambda-map

l: [2,3,13,1872,7411];

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

Calculate

jacobi

jacobi (9, 1772035329...

Calculate

jacobi

jacobi(119,1009);

Calculate

jacobi

jacobi (2 , 31);

Calculate

jacobi

jacobi(1234567,111111...

Calculate

jacobi

jacobi (109, 825);

Calculate

jacobi

jacobi (51,97);

Calculate

jacobi

jacobi (3, 100017223);

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