Skip to content

A tiny script for calculating the nth Fibonacci term (where the first & second terms are 1 and 1) in constant time

Notifications You must be signed in to change notification settings

a-umair/binets_nth_fibonacci_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Nth Fibonacci Term Calculator

About

A tiny Python script that outputs the (approximate) nth Fibonacci term (where the first & second terms are 1 and 1 respectively) using Binet's Fibonacci Formula in constant time.

Usage

To compute the nth term:

~$  python nth_fibonacci_calculator.py n

About

A tiny script for calculating the nth Fibonacci term (where the first & second terms are 1 and 1) in constant time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages