MHB No. of 5 Digit Nos Divisible by 8 (With/Without Repetition)

  • Thread starter Thread starter juantheron
  • Start date Start date
juantheron
Messages
243
Reaction score
1
(1) Total no. of $5$ digit no. which is formed by Using the Digits $1,2,3,4,5$ and Divisible by $8$

(when repetition is not allowed)

(2) Total no. of $5$ digit no. which is formed by Using the Digits $0,1,2,3,4,5$ and Divisible by $8$

(when repetition is allowed)
 
Physics news on Phys.org
Hello, jacks!

(1) Total no. of 5-digit no. formed of the digits {1,2,3,4,5} and divisible by 8
(when repetition is not allowed)
A number is divisible by 8 if its rightmost 3-digit number is divisible by 8.

There are 5 such endings: .--152, --312, --352, --432, --512

The other two spaces can be filled in 2! ways.

Therefore, there are: .5(2!) = 10 such numbers.



(2) Total no. of 5-digit no. formed of digits {0,1,2,3,4,5} and divisible by 8
(when repetition is allowed)
If repetition is allowed, there are 7 more endings:
. . --112, --224, --232, --344, --424, --552, --544

The other two spaces can be filled in 52 ways.

Therefore, there are: 10 + 7(25) = 185 such numbers.
 
jacks said:
(1) Total no. of $5$ digit no. which is formed by Using the Digits $1,2,3,4,5$ and Divisible by $8$

(when repetition is not allowed)

(2) Total no. of $5$ digit no. which is formed by Using the Digits $0,1,2,3,4,5$ and Divisible by $8$

(when repetition is allowed)
I agree with soroban on (1). For (2), the situation is more complicated because the digit 0 is also allowed. The possible three-digit endings are $$E24,\,E32,\,E40,\,O04,\,O12,\,O20,\,O44,\,O52,$$ where $E$ stands for an even number (0,2 or 4) and $O$ stands for an odd number (1,3 or 5). That gives $3\times8=24$ possible endings. For each ending there are $5\times6=30$ choices for the first two digits (5 for the leading digit, which must not be 0, and 6 for the second digit).
 

Hello, everyone!

Silly me . . . I overlooked the zero in the second part. . *slap head*
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top