For the first one (Double factorial used)
(4! + 4 + 4!!/4) = 30
For the second one (Double factorial again):
(4! + 4!! - 4 / 4) = 31
For the first one (Double factorial used)
(4! + 4 + 4!!/4) = 30
For the second one (Double factorial again):
(4! + 4!! - 4 / 4) = 31