1 unstable release
Uses new Rust 2024
new 0.1.1 | Mar 19, 2025 |
---|---|
0.1.0 |
|
#574 in Math
10KB
229 lines
thue_morse
A library for calculating the Thue-Morse sequence number given a specific index. You can also specifically create evil numbers and odious numbers.
Usage
Create a ThueMorseProvider for a specific base and then a ThueMorseIterator can be created from that instance using the into_iter
function.
Create an EvilNumberIterator or OdiousNumberIterator instance to generate evil numbers or odious numbers respectively.