An open API service indexing awesome lists of open source software.

https://github.com/vanhakobyan/fibonacci-series

:one::one::two::three::five::eight: :round_pushpin:Fibonacci Series, .net framework 4.6 , C# 6.0
https://github.com/vanhakobyan/fibonacci-series

fibonacci fibonacci-series series

Last synced: 6 months ago
JSON representation

:one::one::two::three::five::eight: :round_pushpin:Fibonacci Series, .net framework 4.6 , C# 6.0

Awesome Lists containing this project

README

          

# Fibonacci-Series
### .net framework 4.6 , C# 6.0



In mathematics, the Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones:




1,\;1,\;2,\;3,\;5,\;8,\;13,\;21,\;34,\;55,\;89,\;144,\;\ldots \;

```c#
static IEnumerable GetCalculatedFibonacciSequence()
{
var current = 1;
var b = 0;
var next = 0;
yield return next;
yield return current;
while (true)
{
next = current + b;
yield return next;
b = current;
current = next;
}
}

```