| Crates.io | thue_morse |
| lib.rs | thue_morse |
| version | 0.1.1 |
| created_at | 2025-03-19 22:41:59.545169+00 |
| updated_at | 2025-03-19 23:04:33.804241+00 |
| description | A library for generating Thue-Morse number sequences for different bases. You can also specifically create evil numbers and odious numbers. |
| homepage | |
| repository | https://github.com/AustinHellerRepo/thue_morse |
| max_upload_size | |
| id | 1598673 |
| size | 21,093 |
A library for calculating the Thue-Morse sequence number given a specific index. You can also specifically create evil numbers and odious numbers.
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.