Permutations I think

Loki123

Full Member
Joined
Sep 22, 2021
Messages
790
I have been given a hint that the answer is not smaller than 1000 and not bigger than 7000. With my way I would get waaaay bigger numbers... Where am I going wrong?? IMG_20220422_170703.jpg
 
The question is not well stated. Are the choices 1, 3, 7 and 7, 3, 1 distinct? Is 3, 3, 3 permitted?

If we assume no repetitions are permitted and order is irrelevant, I get 20 odd integers in 1 through 40 and 40 even.

[math]\dbinom{20}{3} * \dbinom{20}{0} + \dbinom{20}{1} * \dbinom{20}{2} =\\ \dfrac{20 * 19 * 18}{3 * 2} + 20 * \dfrac{20 * 19}{2} =\\ 380 + 20 * 190 = 380 + 3800 = 4180.[/math]
 
No-one has posted the correct result for [imath]\binom{20}{3}[/imath] yet (both post#2 and #5 contain mistakes). I'm sure that @Loki123 can get this right now, with another attempt, since @JeffM probably just mistyped something in the actual calculation.
 
No-one has posted the correct result for [imath]\binom{20}{3}[/imath] yet (both post#2 and #5 contain mistakes). I'm sure that @Loki123 can get this right now, with another attempt, since @JeffM probably just mistyped something in the actual calculation.
Yes. I divided 18 by 6 and came up with 1. Maybe I should stop posting today. I seem to be making arithmetic mistakes all over.
 
Yes. I divided 18 by 6 and came up with 1. Maybe I should stop posting today. I seem to be making arithmetic mistakes all over.
Sitting in the corner for a spell does wonders when it comes to not making silly arithmetic mistakes.
I do have to admit that saying that 18/6=1 is a good one!
 
smaller than 1000 and not bigger than 7000 equates to smaller than 1000--for the record.
But the OP is, "the answer is not smaller than 1000 and not bigger than 7000". Therefore if "w" is the number of ways then 1000 ≤ w ≤ 7000

In programming I avoid boolean variable names that begin with the prefix "not" since this often causes me a lot of confusion :mad: For example:-

boolean not_Steven_is_in_the_corner = false; ;)
 
You're assuming that the numbers can't be repeated. Where does it say that?
The problem clearly states that three numbers are to be chosen. If a number is repeated the would not be three.
The sum of three odd integers is an odd integer. The sum of two even integers and an odd integer is an odd integer.
The set of integers [imath]\{1,2,3,\cdots,38,39,40\}[/imath] contains twenty odds and twenty evens.
There are [imath]\binom{20}{3}=1140[/imath] to choose three from twenty. See This
How many ways are there to choose two evens and one odd?
[imath][/imath][imath][/imath]
 
But the OP is, "the answer is not smaller than 1000 and not bigger than 7000". Therefore if "w" is the number of ways then 1000 ≤ w ≤ 7000

In programming I avoid boolean variable names that begin with the prefix "not" since this often causes me a lot of confusion :mad: For example:-

boolean not_Steven_is_in_the_corner = false; ;)
I knew my corner time was coming up soon. You got me good.
 
Top