ninjagecko
Reputation
Top tag
Next privilege 125 Rep.
Vote down
 Aug23 awarded Commentator Aug23 comment Intuition on the sum of first (n-1) numbers is equal to the number of ways of picking 2 items out of n. This answer is perfectly fine! The number of dots is the arithmetic sum of the rows: (n-1)+(n-2)+(n-3)+...+2+1. Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? @Gurgeh: though cstheory.stackexchange is also a reasonable forum in the future. Too bad SO isn't like Quora. Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? Note: This answer was given in response to the question before it was (unreasonably) migrated from stackoverflow. Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? I suggest that this be migrated back to stackoverflow.com Feb29 answered Is there an algorithm that can tell whether the power of two rational numbers is rational? Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? Why the close votes? This isn't off-topic, it was clearly stated as relating to implementing fractions. I personally find it useful. Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? @senderle: ah, silly me, thank you =) Feb29 comment Is there an algorithm that can tell whether the power of two rational numbers is rational? @Gurgeh: Could you please give an example of where irrational^irrational = rational, without complex numbers, if you know of one? Oct8 awarded Student Jun8 comment Solution to rarity-generalized coupon-collector's problem? @Byron: ah interesting! I managed to find online the textbook example 5.17 on p322 in Introduction to Probability Models 10th edition by Sheldon Ross, as cited in your answer, and it does indeed give a general solution to the coupon collector's problem with unequal probabilities. I'd be happy to accept any answer which stated it with reference, along with whether it generalized to continuous distributions (and what that would mean). Jun8 comment How to calculate the middle of a line? Generalization: You can get any point along the line by doing a weighted average of the vectors (e.g. $0.1*p1 + 0.9*p2$, to get 90% of the way towards p2). Jun8 asked Solution to rarity-generalized coupon-collector's problem? Jun8 comment Expected time to roll all 1 through 6 on a die If anyone's curious, simulating reveals $E[$time until all values rolled$]$ for two dice is roughly $61.2$. May22 awarded Supporter