The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 

You can't be 1/33 any race. The denominator needs to be a power of two.

by qbguy (no login)

No, not even with inbreeding.


No person can be their own ancestor, so the breeding graph is directed and acyclic, so it has an ordering where all of a given person's ancestors come before that person. This ordering permits induction:


For the basis cases, all the 'pure white' and 'pure black' people are 1/20 and 0/20.


The other cases, are children of a p1/2q1 and a p2/2q2 - which comes to (p12q2 + p22q1)/2q1+q2+1, which is of the required form.



    
This message has been edited by Solitaire1 on Feb 28, 2009 12:59 PM
This message has been edited by Solitaire1 on Feb 28, 2009 12:57 PM

Posted on Feb 20, 2009, 2:59 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
xkcd on Feb 21
Actually, a person can be his own ancestor.Solitaire on Feb 28
 * I think that would be posted in the Incest Forum............. on Feb 28
  *Either that or the National Enquirer forum, lol. on Feb 28
 *You're wrong... the child becomes a ward of the state. :) on Feb 28
* Tell that to Jesus........ on Feb 28

Newbies usually go to www.qbasic.com and click on The QBasic Forum
Forum regulars have their own ways, which include The QBasic Community Forums