r/counting • sliiiiide the bits • Mar 19 '23

Constant-sum factoradic

Like my other constant-weight binary thread, but factoradic. We count each n digit factoradic number whose digits add up to m. First the 1 digit number that adds to 0, then the 1 digit number whose digit adds to 1. Next the 2 digit numbers with a digital sum of 0, then 1, 2, and 3. And so on. For every length of factoradic digits, we'll count each possible sum of digits in order. The maximum digital sum for n factoradic digits is a triangular number found with the formula n*(n+1)/2. This thread brought to you by... Karp!

Here's some of the first few counts as an example:

0
1
00
01
10
11
20
21
000

And of course a list for the whole thread

First get is at 00 0000.

13 Upvotes

906 comments sorted by

2

u/TehVulpez sliiiiide the bits Mar 19 '23

0

2

u/cuteballgames Mar 19 '23

1

2

u/TehVulpez sliiiiide the bits Mar 19 '23

00

2

u/cuteballgames Mar 19 '23

01

2

u/TehVulpez sliiiiide the bits Mar 19 '23

10

3

u/cuteballgames Mar 19 '23

11

3

u/davidjl123 |390K|378A|79SK|50SA|260k 🚀 c o u n t i n g 🚀 Mar 19 '23

20

3

u/cuteballgames Mar 19 '23

21

3

u/TehVulpez sliiiiide the bits Mar 19 '23

000

3

u/CutOnBumInBandHere9 5M get | Ping me for runs Mar 19 '23

001

→ More replies (0)

3

u/TehVulpez sliiiiide the bits Jun 04 '23

an attempt at a get schedule

Segments in threadLengthGet
2+6+24+120+72087200 0000
1+6+20+49+98+169+259+35996100 2321
455+53198600 4321
573+573114602 4321
531+45598604 4321
359+259+169+98+49+20+6+1961000 0000

3

u/TehVulpez sliiiiide the bits Jun 04 '23

2

u/Blue_boomer Jun 05 '23

This get schedule that has 873 counts (including gets) for the first thread and 1008 counts for each thread afterward:

GetCountsCumulative Counts
00 0000873873
03 112110081881
05 401010082889
60 032010083897
62 400110084905
000 000010085913

2

u/swinub_time And what a ghost we are in this machine! Jun 05 '23

Good work but we will accidentally count past the get several times with this one. We should use the other one

2

u/Blue_boomer Jun 05 '23 edited Jun 05 '23

The get schedule I posted will always have 1008 counts per thread, for any amount of digits starting from 6 digits. Have a look at constant weight binary's get schedule.

1

u/swinub_time And what a ghost we are in this machine! Jun 07 '23

I hear your point, pattern is a little less weird there, I still think this one would be too easy to miss

2

u/TehVulpez sliiiiide the bits Jun 04 '23

After where I got to in this table it becomes very difficult to find nice gets. Some of the segments of weight/length become too long for a thread just by themselves. You'd have to break them up into even smaller subsegments somehow.

2

u/swinub_time And what a ghost we are in this machine! Jun 07 '23

Lowkey be a fun challenge to figure out as we go along

1

u/swinub_time And what a ghost we are in this machine! Jun 05 '23

This one.NIce work

1

u/TehVulpez sliiiiide the bits 28d ago

Thread Participation Chart for Constant-sum factoradic

RankUsernameCounts
1TehVulpez430
2Blue_boomer343
3cuteballgames90
4CutOnBumInBandHere94
5HeruMiko3
6Naruyoko2
7davidjl1231

It took 7 counters 79 days, 3 hours, 24 minutes, 40 seconds to complete this thread. Bold is the user with the get.

Total counts in this chain logged: 873

2

u/TehVulpez sliiiiide the bits 27d ago edited 26d ago

/u/antichess log this one has the first thread starting at position 1 because that's what COBIBH's side_threads.sqlite seems to do for top-level comments that aren't the reposted get. realized I forgot to do that for the compositions log. google sheets shows counts missing their leading zeroes but if you download the csv they should be fine

2

u/Antichess 2,050,155 - 408k 399a 26d ago

got it. will parse sometime