#probability questions

40 messages · Page 1 of 1 (latest)

echo cairn
#

a random 6 digit number is made from only the digits 1 & 8, then the probability of it being divisible by 21 is p, what is 96p?

ruby shoalBOT
#
  1. Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
  2. Wait patiently for a helper to come along.
  3. Once someone helps you, say thank you and close the thread with:
    +close
    
  4. Feel free to nominate the person for helper of the week in #helper-nominations
  5. Do not ping the mods, unless someone is breaking the rules.
  6. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
vernal rivet
#

a number being divisible by 21 means a number is divisible by both 3 and 7.

  • divisibility of 3 can check if all the digits add up to a number divisible by 3
    e.g. 188811 divisibly by 3 since 1 + 8 + 8 + 8 + 1 + 1 = 27 which is divisible by 3

  • divisibility of 7 can be checked for 6 digits numbers by finding the difference between the first 3 digit number and the last 3 digit number, and checking if the result is also divisible by 7 (if your result is 0, then it is also divisible)
    e.g. 888181 is divisible by 7 since 888 - 181 = 707 which is divisible by 7.

maybe you can use these tools to help solve your problem. There's also 2^6 = 64 possible numbers that can be formed from only 1's and 8's

orchid swallow
#

8⁶

timber creek
#

we can minimise the case by finding number of 1s and 8s possible. Hint:- using modular equations

timber creek
vernal rivet
timber creek
#

i find the problem interesting.
we can like say that number of 1s is x and number of 8s is y.
x+y=6
and x+8y = 0 (mod 3)

#

and stuff

orchid swallow
timber creek
#

64

orchid swallow
#

Oh yeah I misread.

vernal rivet
#

maybe can show for divisibility of 3 to be true, need to have either all 1's, all 8's, or three 8's and three 1's

#

then narrow it down to divisibility of 7 from there

timber creek
#

that will narrow down i assume atleast half of the cases

vernal rivet
#

yeah i honestly tho don't know what the OP knows and doesn't know so im doing this kinda in the 'dumb' way

#

all 1's work and all 8's work , but i dont know how to prove that any combination of three 8's and three 1's will always be divisible by 7 and thus 21

#

oh wait nvm im dumb i figured it out lol

timber creek
#

even though thats a way but i dont suggest doing that

vernal rivet
#

so 22 ?

timber creek
vernal rivet
#

ye tho i used divisibility rules of 3 and 7 for this. divisibility rule of 7 is weird and uncommon

#

curious what a modular way would go about doing that

timber creek
drowsy stream
#

And in fact, 1 == 8 (mod 7) so if any of these strings is divisible by 7, they all are.

timber creek
#

1==8 (mod7). isnt it like 8==1(mod7)

drowsy stream
#

...congruence mod n is symmetric.

timber creek
#

i dont use them in daily basis i might be wrong

timber creek
drowsy stream
#

It's an equivalence relation.

timber creek
#

okay.

echo cairn
#

+close