Create a histogram of the digits used so far in the sequence. Add to the last element of the sequence the least used digit on the histogram. If two or more digits have the same score in the histogram, add the smallest. 0 is to be interpreted as 10 and so comes after 9. So if 0 is the digit to add, add 10 instead. Start the sequence with 0.
A093031
Create a histogram of the digits used so far in the sequence. Add to the last element of the sequence the least used digit on the histogram. If two or more digits have the same score in the histogram, add the smallest. 0 is to be interpreted as 10 and so comes after 9. So if 0 is the digit to add, add 10 instead. Start the sequence with 0.
Terms
- a(0) =0a(1) =1a(2) =3a(3) =5a(4) =7a(5) =9a(6) =11a(7) =13a(8) =15a(9) =17a(10) =19a(11) =21a(12) =25a(13) =29a(14) =33a(15) =37a(16) =41a(17) =47a(18) =53a(19) =59a(20) =65a(21) =73a(22) =81a(23) =87a(24) =93a(25) =99a(26) =105a(27) =111a(28) =117a(29) =123
External references
- oeis: A093031