Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
PHP Web Technologies PHP-basics

PHP Fibonacci Series

The Fibonacci series is a series of elements where, the previous two elements are added to get the next element, starting with 0 and 1. In this article, we will learn...
Computer Organization & Architecture microprocessor system-programming

8085 program to generate Fibonacci series

Problem – Write an assembly language program in 8085 microprocessor to generate Fibonacci series. Example – Assume Fibonacci series is stored at startin...
Dynamic Programming Fibonacci Reverse

Print Fibonacci Series in reverse order

Given a number n then print n terms of fibonacci series in reverse order. Examples: Input : n = 5 Output : 3 2 1 1 0 Input : n = 8 Output : 13 8 5 3 2 1 1 0 Recomm...
Dynamic Programming Fibonacci programming-puzzle

Print Fibonacci sequence using 2 variables

Print the Fibonacci sequence. The first Fibonacci numbers are: C++ // Simple CPP Program to print Fibonacci  // sequence #include <iostream>...
Greedy dp-coin-change Fibonacci

Minimum Fibonacci terms with sum equal to K

Given a number k, find the required minimum number of Fibonacci terms whose sum equal to k. We can choose a Fibonacci number multiple times. Examples: Input : k = 4 ...
Mathematical Fibonacci interesting-facts

Interesting facts about Fibonacci numbers

We know Fibonacci number, Fn = Fn-1 + Fn-2. First few Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, …. . Here are ...
Mathematical Fibonacci Mathematical

How to check if a given number is Fibonacci number?

Given a number ‘n’, how to check if n is a Fibonacci number. First few Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 141, .. Examples ...
Mathematical Fibonacci Mathematical

Find nth Fibonacci number using Golden ratio

Fibonacci series = 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, …….. Different methods to find nth Fibonacci number are already discussed. Another simple way of fin...
Mathematical Fibonacci Mathematical

Zeckendorf’s Theorem (Non-Neighbouring Fibonacci Representation)

Zeckendorf’s theorem states that every positive Every positive integer can be written uniquely as a sum of distinct non-neighbouring Fibonacci numbers. Two Fi...
Mathematical Fibonacci Mathematical

Fibonacci Coding

Fibonacci coding encodes an integer into binary number using Fibonacci Representation of the number. The idea is based on Zeckendorf’s Theorem which states th...

Subscribe to Our Newsletter