#fibonacci-sequence #order #second #sequence #fibonacci #no-std

no-std fibonacci-like

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

3 releases

0.1.3 Aug 21, 2022
0.1.2 Aug 21, 2022
0.1.1 Aug 19, 2022
0.1.0 Aug 19, 2022

#1987 in Algorithms

MIT/Apache

10KB
139 lines

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

Dependencies

~110KB