First time here? Check out the FAQ!
answered 2017-08-15 18:17:21 -0600
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.