Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Christmas Math Fun
Message
 
To
10/12/1997 13:08:23
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00064933
Message ID:
00065068
Views:
38
>>>Sum=(N^3)/6+(N^2)/2+N/3
>>>If this is right, I will send you bill ::)
>>
>>Ladies and gents, we have a winner! That is, converting, the same as my solution of Gifts = n * (n+1) * (n+2) / 6. Congratulations, Edward!
>
>OK, Bruce, you've done it again. It's like a song I can't stop singing in my head.
>
>if my Algebra II memory serves me right, the proper way to write this formula is:
>
>n * (n+1) * (n+2)
>-----------------
>    (1*2*3)
>
>what kind of problem is this?

It's combinatorics, at least that's how I solved it:
 (n+2)          (n+2)!         (n+2)(n+1)n
C       = ----------------- = ------------------,
 (n-1)   (n-1)! (n+2-(n-1)!         3!
after canceling like terms of factorials.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform