Menu Close

How-many-six-digit-numbers-contain-exactly-four-different-digits-




Question Number 21693 by Tinkutara last updated on 01/Oct/17
How many six-digit numbers contain  exactly four different digits?
Howmanysixdigitnumberscontainexactlyfourdifferentdigits?
Commented by mrW1 last updated on 02/Oct/17
9 numbers with exactly 1 distinct digits  2511 numbers with exactly 2 distinct digits  58320 numbers with exactly 3 distinct digits  294840 numbers with exactly 4 distinct digits  408240 numbers with exactly 5 distinct digits  136080 numbers with exactly 6 distinct digits  Σ 900000 numbers
9numberswithexactly1distinctdigits2511numberswithexactly2distinctdigits58320numberswithexactly3distinctdigits294840numberswithexactly4distinctdigits408240numberswithexactly5distinctdigits136080numberswithexactly6distinctdigitsΣ900000numbers
Commented by Tinkutara last updated on 02/Oct/17
Only 4^(th)  line is needed. Can you explain  how you get it?
Only4thlineisneeded.Canyouexplainhowyougetit?
Commented by mrW1 last updated on 05/Oct/17
for k=1...6  (9/(10))×C_k ^(10) ×k!×{_k ^6 }  k=1: ⇒ (9/(10))×10×1×1=9  k=2: ⇒ (9/(10))×45×2×31=2511  k=3: ⇒ (9/(10))×120×6×90=58320  k=4: ⇒ (9/(10))×210×24×65=294840  k=5: ⇒ (9/(10))×252×120×15=408240  k=6: ⇒ (9/(10))×210×720×1=136080
fork=16910×Ck10×k!×{k6}k=1:910×10×1×1=9k=2:910×45×2×31=2511k=3:910×120×6×90=58320k=4:910×210×24×65=294840k=5:910×252×120×15=408240k=6:910×210×720×1=136080
Commented by mrW1 last updated on 05/Oct/17
explanation:    to select k digits from 10 (incl. 0) there  are C_k ^(10)  ways    to divide 6 positions into k groups there  are {_k ^6 } ways, where {} means stirling  number of second kind    to arrange k digits there are k! ways    since digit 0 is not allowed in the first  position, the result should be reduced  to (9/(10))    ⇒(9/(10))×C_k ^(10) ×k!×{_k ^6 }    I worked out this solution by myself,  so I′m not sure if it′s correct. pls check.
explanation:toselectkdigitsfrom10(incl.0)thereareCk10waystodivide6positionsintokgroupsthereare{k6}ways,where{}meansstirlingnumberofsecondkindtoarrangekdigitstherearek!wayssincedigit0isnotallowedinthefirstposition,theresultshouldbereducedto910910×Ck10×k!×{k6}Iworkedoutthissolutionbymyself,soImnotsureifitscorrect.plscheck.
Commented by Tinkutara last updated on 05/Oct/17
I don′t know any sterling function.
Idontknowanysterlingfunction.
Commented by mrW1 last updated on 05/Oct/17
the number of ways to divide n  distinct objects into k groups with at  least one object in each group is:  {_k ^n }=(1/(k!)) Σ_(j=0) ^k  (−1)^(k−j)  (_j ^k ) j^n   {} is called stirling number of 2. kind
thenumberofwaystodividendistinctobjectsintokgroupswithatleastoneobjectineachgroupis:{kn}=1k!kj=0(1)kj(jk)jn{}iscalledstirlingnumberof2.kind
Commented by mrW1 last updated on 05/Oct/17
Commented by Tinkutara last updated on 05/Oct/17
Thank you very much Sir!
ThankyouverymuchSir!
Commented by mrW1 last updated on 06/Oct/17
what is the solution in your book?
whatisthesolutioninyourbook?
Commented by Tinkutara last updated on 06/Oct/17
Its very confusing but the one which I  understand is:
ItsveryconfusingbuttheonewhichIunderstandis:
Commented by Tinkutara last updated on 06/Oct/17
Commented by Tinkutara last updated on 06/Oct/17
Commented by Tinkutara last updated on 06/Oct/17
Commented by Tinkutara last updated on 06/Oct/17
Commented by mrW1 last updated on 06/Oct/17
the result is the same. my formula  (9/(10))×(_(  4) ^(10) )×4!×{_4 ^6 } is more simple.
theresultisthesame.myformula910×(410)×4!×{46}ismoresimple.

Leave a Reply

Your email address will not be published. Required fields are marked *