Starting Number: 3894423151
 
Counting 0's
Number:3894423151
Digit Count:0212210011
Updated Number:0894423151
 
Counting 1's
Number:0894423151
Digit Count:1211210011
Updated Number:0294423151
 
Counting 4's
Number:0294423151
Digit Count:1221210001
Updated Number:0294223151
 
Counting 6's
Number:0294223151
Digit Count:1231110001
Updated Number:0294220151
 
Counting 8's
Number:0294220151
Digit Count:2230110001
Updated Number:0294220101
 
Counting 9's
Number:0294220101
Digit Count:3230100001
Updated Number:0294220101
 
Counting 7's
Number:0294220101
Digit Count:3230100001
Updated Number:0294220001
 
Counting 2's
Number:0294220001
Digit Count:4130100001
Updated Number:0234220001
 
Counting 9's
Number:0234220001
Digit Count:4131100000
Updated Number:0234220000
 
Counting 7's
Number:0234220000
Digit Count:5031100000
Updated Number:0234220000
 
Counting 6's
Number:0234220000
Digit Count:5031100000
Updated Number:0234220000
 
Counting 2's
Number:0234220000
Digit Count:5031100000
Updated Number:0234220000
 
Counting 5's
Number:0234220000
Digit Count:5031100000
Updated Number:0234200000
 
Counting 9's
Number:0234200000
Digit Count:6021100000
Updated Number:0234200000
 
Counting 7's
Number:0234200000
Digit Count:6021100000
Updated Number:0234200000
 
Counting 0's
Number:0234200000
Digit Count:6021100000
Updated Number:6234200000
 
Counting 5's
Number:6234200000
Digit Count:5021101000
Updated Number:6234200000
 
Counting 0's
Number:6234200000
Digit Count:5021101000
Updated Number:5234200000
 
Counting 9's
Number:5234200000
Digit Count:5021110000
Updated Number:5234200000
 
Counting 2's
Number:5234200000
Digit Count:5021110000
Updated Number:5224200000
 
Counting 9's
Number:5224200000
Digit Count:5030110000
Updated Number:5224200000
 
Counting 7's
Number:5224200000
Digit Count:5030110000
Updated Number:5224200000
 
Counting 8's
Number:5224200000
Digit Count:5030110000
Updated Number:5224200000
 
Counting 9's
Number:5224200000
Digit Count:5030110000
Updated Number:5224200000
 
Counting 0's
Number:5224200000
Digit Count:5030110000
Updated Number:5224200000
 
Counting 1's
Number:5224200000
Digit Count:5030110000
Updated Number:5024200000
 
Counting 8's
Number:5024200000
Digit Count:6020110000
Updated Number:5024200000
 
Counting 3's
Number:5024200000
Digit Count:6020110000
Updated Number:5020200000
 
Counting 0's
Number:5020200000
Digit Count:7020010000
Updated Number:7020200000
 
Counting 2's
Number:7020200000
Digit Count:7020000100
Updated Number:7020200000
 
Counting 8's
Number:7020200000
Digit Count:7020000100
Updated Number:7020200000
 
Counting 3's
Number:7020200000
Digit Count:7020000100
Updated Number:7020200000
 
Counting 7's
Number:7020200000
Digit Count:7020000100
Updated Number:7020200100
 
Counting 4's
Number:7020200100
Digit Count:6120000100
Updated Number:7020000100
 
Counting 0's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 5's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 9's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 7's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 3's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 5's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 4's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 0's
Number:7020000100
Digit Count:7110000100
Updated Number:7020000100
 
Counting 1's
Number:7020000100
Digit Count:7110000100
Updated Number:7120000100
 
Counting 6's
Number:7120000100
Digit Count:6210000100
Updated Number:7120000100
 
Counting 7's
Number:7120000100
Digit Count:6210000100
Updated Number:7120000100
 
Counting 9's
Number:7120000100
Digit Count:6210000100
Updated Number:7120000100
 
Counting 1's
Number:7120000100
Digit Count:6210000100
Updated Number:7220000100
 
Counting 0's
Number:7220000100
Digit Count:6120000100
Updated Number:6220000100
 
Counting 6's
Number:6220000100
Digit Count:6120001000
Updated Number:6220001100
 
Counting 7's
Number:6220001100
Digit Count:5220001000
Updated Number:6220001000
 
Counting 2's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 5's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 0's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 3's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 2's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 4's
Number:6220001000
Digit Count:6120001000
Updated Number:6220001000
 
Counting 1's
Number:6220001000
Digit Count:6120001000
Updated Number:6120001000
 
Counting 7's
Number:6120001000
Digit Count:6210001000
Updated Number:6120001000
 
Counting 5's
Number:6120001000
Digit Count:6210001000
Updated Number:6120001000
 
Counting 7's
Number:6120001000
Digit Count:6210001000
Updated Number:6120001000
 
Counting 6's
Number:6120001000
Digit Count:6210001000
Updated Number:6120001000
 
Counting 2's
Number:6120001000
Digit Count:6210001000
Updated Number:6110001000
 
Counting 7's
Number:6110001000
Digit Count:6300001000
Updated Number:6110001000
 
Counting 2's
Number:6110001000
Digit Count:6300001000
Updated Number:6100001000
 
Counting 1's
Number:6100001000
Digit Count:7200001000
Updated Number:6200001000
 
Counting 2's
Number:6200001000
Digit Count:7110001000
Updated Number:6210001000
 
Answer: 6210001000
Steps: 66

James Grime's Self Descriptive Number Puzzle

My Solution:

  1. Generate a random 10 digit number.
  2. Pick a random digit to count.
  3. Count the number of occurences of that digit in the number.
  4. Update the number to reflect the number of occurences of the selected digit.
  5. Check if the entire number is valid.
  6. If it is not valid, repeat steps 2-5. If it is valid, the answer has been found.
Scroll to the bottom to see the answer.