fibonacci-like

Crates.iofibonacci-like
lib.rsfibonacci-like
version0.1.3
sourcesrc
created_at2022-08-19 04:14:48.97183
updated_at2022-08-21 05:18:47.744808
descriptionA small crate to help you interact with second order sequences, such as the Fibonacci sequence, with no_std support
homepage
repositoryhttps://github.com/jewlexx/fibonacci-like
max_upload_size
id648535
size24,624
Juliette Cordor (jewlexx)

documentation

https://docs.rs/fibonacci-like

README

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

Commit count: 61

cargo fmt