1
$\begingroup$

Let's take a sum and an example production

$z_{1}=\sum_{k=1}^{3}(k!+(k+1)!)$

and

$z_{2}=\prod_{k=1}^{3}(k!+(k+1)!)$

I wish to get in z1

a result like that

$z_{1} =(1! +(1+1)!)+ (2!+(2+1)!)+(3!+(3+1)!)$

likewise for z2 such a result

$z_{2} =(1! +(1+1)!)(2!+(2+1)!)(3!+(3+1)!)$

I used different variations of Hold but could not come up with anything help me a little.

$\endgroup$

1 Answer 1

2
$\begingroup$
Inactivate[Sum[Factorial[k] + Factorial[1 + k], {k, 1, 3}], Factorial|Plus]

(1! + (1 + 1)!) + (2! + (1 + 2)!) + (3! + (1 + 3)!)

Inactivate[Product[Factorial[k] + Factorial[1 + k], {k, 1, 3}], Factorial|Plus]

(1!+ (1 + 1)!) (2! + (1 +2 )!) (3! + (1 + 3)!)

$\endgroup$
1
  • $\begingroup$ thanks , thanks for the information, I had not seen that instruction $\endgroup$
    – susy diaz
    Jan 10, 2018 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.