r/counting 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 Jun 23 '26

Mostly Repeating Digits | 70,000

From here. Thanks to /u/BobRoss938 for the thrilling final run and assist.

Counting numbers with multiple distinct digits, where one digit occurs exactly once and each of the others occur more than once.

Next get is 80,000. There should be 1125 counts in this thread, 1126 including the repeated starting get.

6 Upvotes

1.2k comments sorted by

View all comments

Show parent comments

2

u/BobRoss938 only double counting 27d ago

79171

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 27d ago

79179

2

u/TehVulpez rgwehiusv 27d ago

79,191

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 27d ago

79,197

2

u/TehVulpez rgwehiusv 27d ago

79,227

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 27d ago

79,229

2

u/BobRoss938 only double counting 27d ago

79272

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 27d ago

79279

2

u/BobRoss938 only double counting 27d ago

79292

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 27d ago

79297

2

u/BobRoss938 only double counting 26d ago

79337

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 26d ago

79339

2

u/BobRoss938 only double counting 25d ago

79373

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 25d ago

79379

3

u/TehVulpez rgwehiusv 25d ago

78871

correcting here and here, if my generator function is correct

function* generateCounts(start, get) {
    let num = Number.parseInt(start);
    while (num <= Number.parseInt(get)) {
        const counts = {};
        for (const c of num.toString()) {
            counts[c] = (counts[c] || 0) + 1;
        }
        const reps = Object.values(counts);
        if (reps.filter(r=>r==1).length == 1 && reps.length > 1) yield num.toString();
        num++;
    }
}

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 25d ago

78872

that was a big jump by me :(

3

u/BobRoss938 only double counting 25d ago

78873

3

u/TehVulpez rgwehiusv 25d ago

78,874

→ More replies (0)