From the literature, showed below, I know two gadgets that provide a way to know if a positive integer (a positive quantity of units) is composite or a prime number. I would like to know if in the literature or from your invention it is possible to show other different gadgets that provide us primality tests.
Question. Do you know different gadgets or mechanisms from the literature that can be used as a primality test? Then, please add the references asnwering my question as a reference request and I try to read it from the literature. Are you able to provide a different gadget from your invention that provide (its idealization as a physical machine) a way to determine if a quantity (of something) is prime or composite? Many thanks.
Feel free to provide draws of your machine as companion of your explanation of how and why works it as a primality test.
References:
[1] A. K. Dewdney, On the spaghetti computer and other analog gadgets for problem solving, Scientific American Volume 250 Issue 6 (June 1984), Computer Recreations p. 19-26.
[2] Francisco Javier Díaz Aspe, Cómo detectar primos usando una cuerda con nudos, Miniaturas matemáticas de La Gaceta de la RSME, La Gaceta de la Real Sociedad Matemática Española, Núm. 1, Pág. 80 Vol. 22 (2019).