Crate recaman

Source
Expand description

This crate provides an implementation of the Recaman Sequence.

§Examples

extern crate recaman;

use recaman::Recaman;

fn main() {
    let rec = Recaman::new();
    let sequence = rec.take(10).collect::<Vec<u64>>();
}

Structs§

  • Instance of a Recaman sequence.