Hi All,
I have simple task:
Simplify[(6^40)/(6^20)]
and I want just to simplify it into a form of:
6^20
instead I get a result: 3656158440062976 and no any other option to see intermediate steps.
How do I do it, please?
best,
Jacek
Hi All,
I have simple task:
Simplify[(6^40)/(6^20)]
and I want just to simplify it into a form of:
6^20
instead I get a result: 3656158440062976 and no any other option to see intermediate steps.
How do I do it, please?
best,
Jacek
Here are a few ideas:
Thank you,
looks so complicated for a simple fraction.
Can somehow Wolfram explain just like this: 6^40-20 ?
You have to prevent automatic evaluation, which is not very easy. Here is a sequence of steps that may do what you have in mind:
HoldForm[(6^40)/(6^20)] == HoldForm[a^b/a^c]
%[[2]] == ReleaseHold[%[[2]]]
%[[2]] == (Inactivate[Evaluate[%[[2]]]] /. {a -> 6, b -> 40,
c -> 20})
%[[2]] == Activate[Evaluate[%[[2]]], Plus | Times]
Just use 6^(40 - 20) in place of 6^40/6^ 20.
You mean 6^(40-20)? Yes, it can, but it is not streamlined in that direction. It takes some effort to work against the grain.
I have only:
Times @@ Cases[FactorInteger[6^40/6^20], {a_, b_} -> Defer[a^b]]
(* 2^20 3^20 *)
What is this, when I paste your code into WA or as free form input I get The Times cover of British newspaper.
Absolutely fantastic, thank you Hans very much indeed.
This is what I wanted, and it show step-by-step solution as well.
Big thanks.
I would like to thank others for invaluable input, I have learnt a lot today, especially I am curious about The Times newspaper inside Mathematica.
best regards,
Jacek
You could do something like this:
(HoldForm[6]^40)/(HoldForm[6]^20)