Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
| |
|
|
You are not logged in.
#1 2012-01-31 14:16:31
Combinations and Permutations "Rules"I have been working on an upgrade to the Combinations and Permutations to allow "Rules" such as "not a and b together". "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #2 2012-01-31 16:40:56
Re: Combinations and Permutations "Rules"Hi MIF; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #3 2012-01-31 19:41:20
Re: Combinations and Permutations "Rules"I could create a simple "pattern" command like "pattern,a,b,*,c,d" "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #4 2012-01-31 19:58:24
Re: Combinations and Permutations "Rules"That would be fine. Also, to finish it up the problem of multisets has to be dealt with. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #5 2012-01-31 22:16:17
Re: Combinations and Permutations "Rules"Multisets might need an entirely new app. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #6 2012-01-31 22:21:23
Re: Combinations and Permutations "Rules"Hi MIF; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #7 2012-02-01 07:22:23
Re: Combinations and Permutations "Rules"Yes please, I love algorithms. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #8 2012-02-01 09:46:53
Re: Combinations and Permutations "Rules"I can immediately provide an algorithm to list them all. To compute the number mathematically is more difficult because there is no formula known. I use generating functions when answering these so give me a little time to come up with a computerese solution. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #9 2012-02-01 11:45:18
Re: Combinations and Permutations "Rules"Take your time. I also understand about the no-formula thing. The "rules" don't give formulas, just results. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #10 2012-02-01 16:15:12
Re: Combinations and Permutations "Rules"Hi MIF; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #11 2012-02-01 17:02:24
Re: Combinations and Permutations "Rules"Done! Use refresh, look for version 2.12a (bottom of app). "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #12 2012-02-01 22:50:12
Re: Combinations and Permutations "Rules"Hi MIF; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #13 2012-02-02 10:30:38
Re: Combinations and Permutations "Rules"So we ALLOW duplicates in the input, and remove duplicates in the result. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #14 2012-02-02 14:09:14
Re: Combinations and Permutations "Rules"Hi
This sort of post processing or processing at the end is wasteful and time consuming. There is just no way that I know of yet to efficiently prune them or not generate them at all.
Correct. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #15 2012-02-04 21:05:04
Re: Combinations and Permutations "Rules"Hi MIF; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #16 2012-02-07 21:55:06
Re: Combinations and Permutations "Rules"Doing fine now. It seems to work, but needs lots of testing. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #17 2012-02-07 21:58:01
Re: Combinations and Permutations "Rules"Hi MathsIsFun; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #18 2012-08-30 17:00:15
Re: Combinations and Permutations "Rules"Hi. Please post advanced permutations and combinations problems. #19 2012-08-30 18:30:53
Re: Combinations and Permutations "Rules"Thanks for the suggestions mallikarjuns! "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #20 2012-08-30 19:12:51
Re: Combinations and Permutations "Rules"Hi mallikarjuns; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #21 2012-08-30 19:18:13
Re: Combinations and Permutations "Rules"Hi MathsIsFun;
13560 is the correct answer. In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #22 2012-08-30 22:04:38
Re: Combinations and Permutations "Rules"Ah, good then! "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #23 2012-08-30 22:09:02
Re: Combinations and Permutations "Rules"Have you implemented the removal of duplicates into the applet? In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on. #24 2012-08-30 22:20:57
Re: Combinations and Permutations "Rules"Hi bobbym Code:Combinations without repetition (n=5, r=2)
Warning: your items have duplicates
List has 10 entries.
After removal of duplicates in result, there are now 7 entries.
{a,a} {a,b} {a,c} {a,d} {b,c} {b,d} {c,d}The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón #25 2012-08-31 03:23:20
Re: Combinations and Permutations "Rules"Hi anonimnystefy; In mathematics, you don't understand things. You just get used to them. 90% of mathematicians do not understand 90% of currently published mathematics. I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.
|