Sponsored links: Algebra eBooks
 

Related

jacobi

jacobi(0,7);

Calculate

jacobi

jacobi(5,29);

Calculate

jacobi

jacobi(7, 25326001);

Calculate

jacobi

jacobi(13,151);

Calculate

jacobi

jacobi(141724,2606869);

Calculate

jacobi-lambda-map

l: [15];

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

Calculate

jacobi

jacobi(129,255);

Calculate

jacobi

jacobi(18,25);

Calculate

jacobi

jacobi(2,118901521);

Calculate

jacobi

jacobi (5, 13);

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