Solve 4-Digit Numbers w/ Same Digit Repeated Twice & Thrice

  • Thread starter Thread starter Zythyr
  • Start date Start date
  • Tags Tags
    Stats
Zythyr
Messages
32
Reaction score
0
I have no experience in stats and I was wondering if this problem can be solved using stats instead of creating a java program. Can someone please help me.

I am trying to find out how many 4 digits numbers exist that have the same digit repeated in that number twice. And how many 4 digits numbers exist that have the same digit repeated in that number three times.

For example:

5797: The digit 7 appears twice
0410: The digit 0 appears twice

3888: The digit 8 appers three times

So I want to know how many times the digit is repated twice and how many times the digit is reapted three times in the range from 0000-9999.

Can somoene please help me.
 
Physics news on Phys.org
Yes it can be. This is a combinatorial problem.

how many 4 digits numbers exist = 10C4

same digit repeated twice: you are looking at patterns ddxy, dxdy, dxyd, xddy, xdyd, xydd. How many combinations are possible with each of d, x, y taking on values 1, ..., 10?
 
I am not sure how to do solve this problem. I never took Stats.
 
It is a counting problem really.
 
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