#what formula can i use for this question
31 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
oh, its just $n^m$ for there are n choices and m digit number you makee
ultra racism
@vital wagon
u can use permutation to solve this, make three boxes where u can fill 4 digits- 1, 2, 5, 6 and 8. now in the 1st box u can fill 4 digits and in the 2nd one, 4 and so on, therefore u can in total make 4^3 = 64 numbers (if repetition of numbers is allowed)
Repetition isnt allowed cause "by choosing three different numbers from the following list"
You have to think about "how many possibilities do you have for the first digit of your 3-digit numbers ?"
Then "How many possibilities for the second digit and then for the last digit"
thx
@vital wagon has given 1 rep to @safe coral
the awnser 125 is wrong??
that is strange
then use permutation
^
apparently it works for some cases
sry
didnt realize
🤡🤡
dw
im gonna solve it with my passion for writing shit code
im take 3 random numbes and rearrange them randomly if the comonation is unique then n += 1 if its not re do it and if this happens lets say 10,000 times without adding 1 to n then lets output the final awnser
you were already told the answer but ok
5 choices for the 1st digit, 4 for the 2nd, 3 for the 3rd
Hence 5*4*3 total 3-digit numbers, as was said here
ahh thanks
im still gonna code
@vital wagon has given 1 rep to @wooden hemlock
True should be 5 x 4 x 3