/fibonacci-like

A small crate to help you interact with second order sequences, such as the Fibonacci sequence, with no_std support.

Primary LanguageRustApache License 2.0Apache-2.0

Fibonacci Like

docs.rs Libraries.io dependency status for latest release Crates.io Crates.io no_std support

A small crate to help you interact with second order sequences, such as the Fibonacci sequence, with no_std support.

Features

  • Find the position of a given number
  • Find the number at a given position
  • Custom second order sequences

Installation

[dependencies]
fibonacci-like = "0.1"

Usage

let nth = 69;
let number = fibonacci_like::Sequence::fibonacci().calculate(nth);

println!("The \"{nth}\" number of the fibonacci sequence is:\n{number}");

License

One of the following, at your choice:

License: MIT License: APACHE

Made with 💗 by Juliette Cordor