Sponsored links: Algebra eBooks
 

Related

ifactors

ifactors(515753196516...

Calculate

ifactors

ifactors(40);

Calculate

ifactors-next_prime

p1:next_prime(5456498...

p2:next_prime (464648...

p:p1*p2;

Calculate

ifactors-mod

ifactors(635);

mod(327,127);

Calculate

ifactors-primep

primep(124213);

p:131;

ifactors(p);

Calculate

ifactors-primep

primep(35434652);

p:325231;

ifactors(p);

Calculate

ifactors-next_prime-totient

p1:next_prime(1111111...

p2:next_prime(2133345...

p:p1*p2;

Calculate

ifactors-primep

primep(3542434652);

p:325231;

ifactors(p);

Calculate

ifactors-primep

next_primep(45641);

p:45641;

ifactors(p-1);

Calculate

ifactors-mod

ifactors(181);

ifactors(991);

mod(991,181);

Calculate

ifactors

Run Example
(%i1)ifactors(5764801);
(%o1)                              [[7, 8]]
(%i2) 
Run Example
i1:ifactors(25200), factors_only : false;
(%o1)                  [[2, 4], [3, 2], [5, 2], [7, 1]]
(%i2)  /* factor into primes and their powers */ta1:[];
(%o2)                                 []
(%i3) for p: 1 unless p >
 length(i1) do          (i2 : i1[p],            a : i2[1]^i2[2],           ta1: append(ta1,[a]));
(%o3)                                done
(%i4) ta1;
(%o4)                           [16, 9, 25, 7]
(%i5) 
Run Example
joukko:[30, 42, 70];
(%o1)                            [30, 42, 70]
(%i2) luku: joukko[random(3)];
(%o2)                                 42
(%i3) factors_only: true;
(%o3)                                true
(%i4) tekijat: ifactors(luku);
(%o4)                              [2, 3, 7]
(%i5) delete(3, tekijat);
(%o5)                               [2, 7]
(%i6) 
[append,args,block,first,ifactors,lambda,maplist,rest] [append,do,false,ifactors,length] [append,false,first,ifactors,length,second] [block,debugmode,expand,false,first,ifactors,lambda,length,map,phi,product] [block,debugmode,false,first,ifactors,lambda,length,map,phi,product,rest] [block,debugmode,false,first,ifactors,lambda,length,map,phi,product] [block,debugmode,first,ifactors,lambda,length,map,phi,product,rest,trace,true] [block,do,ifactors,length,num,return,while] [block,first,ifactors,lambda,length,lmax,makelist,map,phi,product] [block,first,ifactors,lambda,length,map,phi,product,rest,trace] [block,first,ifactors,lambda,length,map,phi,product,rest] [block,ifactors,length,num,random,return] [block,ifactors,load,mod,next_prime,power_mod,totient] [block,ifactors,load,next_prime,totient] [block,ifactors,load,next_prime] [delete,ifactors,member,random,true] [denom,ifactors,is,lambda,member,sublist,true] [denom,ifactors,lambda,member,sublist,true] [denom,ifactors,true] [do,ifactors,next_prime,print] [false,ifactors,length] [false,ifactors] [first,ifactors,lambda,map,phi,product,rest] [first,ifactors,lambda,map,phi,rest] [gcd,ifactors] [ifactors,is,lambda,length,second,sublist] [ifactors,jacobi,mod] [ifactors,jacobi] [ifactors,lambda,length,second,sublist] [ifactors,lambda,second,sublist] [ifactors,length,random] [ifactors,mod,primep,totient] [ifactors,mod] [ifactors,next_prime,totient] [ifactors,next_prime] [ifactors,primep] [ifactors,random] [ifactors,totient] [ifactors,true] [ifactors]

Related Help

Help for Ifactors