#numbers #calculate #isomers #alkanes #test

isomer

Calculate the number of isomers

1 unstable release

0.0.0 Apr 2, 2023

#130 in #calculate

MPL-2.0 license

5KB
77 lines

  • Calculate the number of isomers of alkanes
#[test]
fn count() {
    let cache = SymmetricGroupCache::default();
    for c in 1..=10 {
        println!("{:>2}: {}", c, cache.a000602(c));
    }
}

Dependencies

~2MB
~33K SLoC