combinatorics 2

This topic has expert replies
User avatar
Legendary Member
Posts: 659
Joined: Mon Dec 14, 2009 8:12 am
Thanked: 32 times
Followed by:3 members

combinatorics 2

by Gurpinder » Wed Jul 28, 2010 12:33 pm
If the first and last digit must be a 2 or a 4, how many 5-digit numbers are possible?

oa: 4,000

User avatar
Senior | Next Rank: 100 Posts
Posts: 51
Joined: Mon May 10, 2010 11:55 pm
Thanked: 4 times

by surajgarg » Wed Jul 28, 2010 12:38 pm
The middle 3 digits can be any digit from 0 to 9.

That means - 10x10x10 = 1000

The first and last digits can have combination as

2 _ _ _ 2
2 _ _ _ 4
4 _ _ _ 4
4 _ _ _ 2

4 combinations.

Total 5 digit combinations possible = 1000 x 4 = 4000

Junior | Next Rank: 30 Posts
Posts: 29
Joined: Tue Jun 29, 2010 5:23 am
Thanked: 3 times

by nicolezl » Wed Jul 28, 2010 12:40 pm
There are 2 options for the first and last digit, and 10 options for the middle 3, so total combinations=

2 X 10 X 10 X 10 X 2 = 4000

User avatar
Legendary Member
Posts: 659
Joined: Mon Dec 14, 2009 8:12 am
Thanked: 32 times
Followed by:3 members

by Gurpinder » Wed Jul 28, 2010 12:40 pm
ahh thanks. i was looking at it from a completely different perspective.