#permutations

134 messages · Page 1 of 1 (latest)

boreal fossil
#

How would I solve this

terse compassBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
rugged ivy
#

Say you have just 1,2,3. How many numbers can you create

boreal fossil
#

3!

fallen umbra
boreal fossil
#

I’m not sure I understand how to do it still this was on my test and I need to correct it I think part A is 5! But don’t understand part b

cunning gale
boreal fossil
#

it would be 9!?

#

wait it would be 9x9x8x7x6

cunning gale
boreal fossil
#

oh 10?

cunning gale
#

Yes.

boreal fossil
#

9876543210

cunning gale
#

Right. Now, let's take our condition into account. What is the smallest number of digits a base 10 number can have without repetition where the digits sum to 39?

boreal fossil
#

987654? so 6 digits

cunning gale
#

Right. And since every permutation of those digits is a new number, how many numbers is that?

boreal fossil
#

60480?

#

since i mutiplied them all

cunning gale
#

..."multiplied them all"?

boreal fossil
#

because theres 9 possible digits for the first place then 8 in the next since theres no repeats?

cunning gale
#

No.

#

There aren't 9 possible digits for the first place.

#

It's 6 digits.

boreal fossil
#

so its 6!

cunning gale
#

Yes.

#

So there are 6! 6-digit numbers that satisfy our condition.

#

Now let's add a digit, but let's do it smart.

#

Let's add the digit 0.

#

Now, bearing in mind 0 cannot be the lead digit, how many numbers does this give us?

boreal fossil
#

well thers 6 digits the number can start with so would it be 6 x 6! since thew others can be in any order?

cunning gale
#

Exactly.

#

Now let's do another smart thing. What digits do we have so far?

boreal fossil
#

9876540

#

7 of them

cunning gale
#

Now, adding and subtracting the same amount doesn't change the sum, right?

boreal fossil
#

yes

#

so 4 can be replaced by 1 and 3?

cunning gale
boreal fossil
#

yes so it would then be 7 x 7!

cunning gale
#

Oh, you are writing down how many numbers we get for each case, right? Because we're going to need to add them all together.

cunning gale
boreal fossil
#

yes

#

because there are 7 options for the first number 9,8,7,6,5,3,1 and then the other 7 numbers including 0 can be aranged in any order

cunning gale
#

There is no "including 0". We replaced 0.

#

We still have 7 digits total.

boreal fossil
#

but 0 does not add to the total so why can we use 0

cunning gale
boreal fossil
#

ok i understand so it would just be 7!

cunning gale
#

Now, give me a chance to get to a piece of paper, because I think you might have accidentally been right.

boreal fossil
#

ok lol

cunning gale
#

Okay, I was wrong. So anyway, 7!. Now let's add 1, subtract 1 again.

boreal fossil
#

ok take away 5 and then use 4 and 1?

#

then it would be 7! again

cunning gale
#

Well, not exactly.

#

What do you mean "use 4 and 1"?

boreal fossil
#

replacing the 5

#

so take out the 5 and then t would still be a 7 digit number

cunning gale
#

What would be the digits?

boreal fossil
#

9876410

cunning gale
boreal fossil
#

oh

#

i see

cunning gale
#

You were right that we subtract 1 from 5. But then we add 1 to 1.

boreal fossil
#

so it would be 9876432

cunning gale
#

Right.

boreal fossil
#

would that be all the 7 digit numbers we can do?

#

since if 6 was taken out and replaced with 5 then an extra digit would be added making the total to 8

#

98754321

cunning gale
#

Yes, actually, but not for that reason.

#

Because if we subtract 1 from 6 we get 5, and there's nowhere we can add the 1 back without getting a duplicate digit.

#

Remember. We're subtracting 1 from one digit and adding it to another digit. We aren't "adding it" as a digit.

boreal fossil
#

So should I continue finding all the combinations and then do I add the final numbers or multiply them?

cunning gale
#

...we're counting, right?

#

So if I asked you to count all the balls in a jar, and you counted all the red balls and all the white balls, would you add or multiply the two numbers to get all the balls?

boreal fossil
#

Add.

cunning gale
#

Right.

#

So where were we?

boreal fossil
#

We were moving onto the 8 digits

cunning gale
#

Right. So we can chuck a 0 onto the end of the two 7-digit sets we have.

#

What does that give us?

boreal fossil
#

7 x 7!

#

For both of them

#

So 2(7x7!)

cunning gale
#

I meant what sets of digits does that give us? You're right, though.

boreal fossil
#

98764320 and 98765310

cunning gale
#

Right.

#

So the 531 one we can't do much with except turn it into the 432 one. What can we do with the 432 one?

boreal fossil
#

Add a 1 and take away from the 6 to get 5

cunning gale
#

Which yields?

boreal fossil
#

8x8!

cunning gale
#

...no. The set of digits.

boreal fossil
#

987543210

cunning gale
#

Where did the 0 come from?

boreal fossil
#

It was from the 8 digit

cunning gale
#

Already been over this.

#

What we subtract from a digit, we add to a different digit, not as a new digit.

boreal fossil
#

Right

#

But if I add to a different digit would I not repeat a digit?

cunning gale
#

How so?

boreal fossil
#

98754321

#

Would that work?

cunning gale
#

You tell me.

#

Are there any repeated digits? Is the digit sum what we need it to be?

boreal fossil
#

Yes it would work

cunning gale
#

How many numbers does this give us?

boreal fossil
#

Now there are 3 8 digit numbers

cunning gale
#

...no. How many permutations of these eight digits?

boreal fossil
#

8!

cunning gale
#

And now we chuck the 0 on the end.

#

What digit sequence is that?

boreal fossil
#

987543210

#

That would have 8x8!

cunning gale
#

Right.

boreal fossil
#

There is only 1 way for the 9 digits right?

cunning gale
#

Yeah. Any subtraction addition we do here results in duplication.

boreal fossil
#

So if I add all the results together that should be the answer

cunning gale
#

Yeah.

boreal fossil
#

Wow thanks so much for the help

#

I got 447840

cunning gale
boreal fossil
#

Yes one second I’ll take a picture

#

I did those calculations

#

Then added the results from each

#

i got a new answer i got 448560

#

with the working above

cunning gale
boreal fossil
#

yay thank you for the help

cunning gale
#

I mean, it's basically just counting.

boreal fossil
#

yea sometimes the questions can be overwhelming

#

but i think i can get the logic down

#

+close