I’ve been looking into smaller modules that can produce a wide range of rhythmic and tonal sequences and I have a concept to combine JDRaoul’s Euclidean Sequencer with @robertsyrett 's LFO Sequencer resulting in a very small number of controls with a large range if possible outputs. I’m in the very primitive stages of design, where I’m getting into the bones of the Eudlidean Sequencer and trying to manually recreate it and I have a few questions:

a) I’ve noticed that there’s a counter with the expression (x < 65535) * (x+1), and I was curious, what is the significance of 65535? Is it just an arbitrarily high reset value?

b) I understand that the clock input gets multiplied by an expression using the three length, offset, and hits controls but I’m wondering what exactly this expression results in? I’ve tried metering the output but can’t really discern what the behavior is other than it must result in a binary state that gates the clock.

c) If I was to use basic math nodes to recreate fract and floor functions (sounds silly but I have my reasons), how would I go about it? I understand what they do based on the descriptions in the documentation but can’t quite figure out how to implement them.

Thanks in advance.