• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Anybody know how to express odd factorials?

YoYoBabyYo

Senior member
I am trying to find a formula to express odd or even factorials, for example:

1*3*5*7*...*n

or

2*4*6*8...*n

I searched google, but had no luck. Does anybody have a clue what the formula is?
 
Well, 2n-1 is always odd and 2n is always even.

Are you looking for a mathematical forumla, or a way to do it in programming?
 
Originally posted by: vrbaba
Originally posted by: YoYoBabyYo
Huh! Let me try those out!

Updated n odd, check above

I was going to ask about the odd, but the even seemed to have worked! May I ask how you knew? :thumbsup: :cookie:

Sorry to break the bad news, but YoyoYo does not have a kid. 😀
 
Originally posted by: YoYoBabyYo
Originally posted by: vrbaba
Originally posted by: YoYoBabyYo
Huh! Let me try those out!

Updated n odd, check above

I was going to ask about the odd, but the even seemed to have worked! May I ask how you knew? :thumbsup: :cookie:

Sorry to break the bad news, but YoyoYo does not have a kid. 😀

courtesy Chuckywang <-- :beer:
 
Back
Top