First time here? Check out the FAQ!
answered 2017-08-16 01:17:21 +0100
There's the method multifactorial(2) on integers:
multifactorial(2)
sage: 6.multifactorial(2) 48 sage: 7.multifactorial(2) 105
You might want to check the definition used there fits your needs.