micahdavid

25 Reputation

4 Badges

12 years, 285 days

MaplePrimes Activity


These are questions asked by micahdavid

I'd like to take the output of ifactor(n::posint), the prime factorization of n, and index the terms of the product to a list. ie: ifactor(256)=2^8 so [2,2,2,2,2,2,2,2]. or 135 -> (3^3)(5)->[3,3,3,5].
Any suggestions? 

Input: solve(O/N=k^x*e^(-x)/x!,x);


Output: 
            /                    _Z  (-_Z)  \
RootOf\-O factorial(_Z) + k e N/
What is this _Z? 

With a given set of pairs S:={[1, 1], [2, 1], [2, 2], [3, 1]...} and a procedure f:=proc(x,y) that has two input variables how can I execute the procedure for each pair in S? Thanks,

1 2 Page 2 of 2