Re: Combinatorics question
- From: Mensanator <mensanator@xxxxxxx>
- Date: Sat, 5 Apr 2008 17:13:57 -0700 (PDT)
On Apr 5, 6:46�pm, Ketakop...@xxxxxxxxx wrote:
Thanks a lot for the help so far. It sure has been of much help. The
only thing is, that I'm having a bit of hard time understanding the
codes ;)
Whose? If it's MSA's code, that's understandable as
it's incorrect. Althought he does, in fact, generate
the correct count of C(10,4), all the numbers generated
end in '00', his minimum number being 0000111100
instead of the correct 0000001111. And some of his
numbers have 12 bits. You'll find in gerneral that
generating wrong answers asymtotically faster isn't
better.
If only you could write pseudocode
Python is virtually indistinguishable from pseudocode.
What parts are you not getting?
... Thanks anyway!
.
- Follow-Ups:
- Re: Combinatorics question
- From: Ketakopter
- Re: Combinatorics question
- From: Mariano Suárez-Alvarez
- Re: Combinatorics question
- References:
- Combinatorics question
- From: Ketakopter
- Re: Combinatorics question
- From: Mensanator
- Re: Combinatorics question
- From: Mariano Suárez-Alvarez
- Re: Combinatorics question
- From: Ketakopter
- Combinatorics question
- Prev by Date: Re: Life of famous mathematicians..
- Next by Date: Re: [Discrete Math] Divisibility within subsequences of the Fibonacci Sequence
- Previous by thread: Re: Combinatorics question
- Next by thread: Re: Combinatorics question
- Index(es):
Relevant Pages
|