| 1 | initial version |
There's the method multifactorial(2) on integers:
sage: 6.multifactorial(2)
48
sage: 7.multifactorial(2)
105
You might want to check the definition used there fits your needs.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.