Tribonacci Numbers in C# – CSharp Dotnet

Hi Programmers, Here is the article to print Tribonacci Numbers in C# using c# console application. Tribonacci Series works similar to Fibonacci Series, but it summing the last three numbers of the sequence to generate the next number. So, if we are to start our Tribonacci sequence with [1,1,1], we have sequence[1,1,1,3,5,9,17,31,…] and if we started with [0,0,1] we have sequence [0,0,1,1,2,4,7,13,24,…]. see below image.

1.Tribonacci Series Example in C# using Recursion. See below image.

2.Tribonacci Sequence Example in c# using for loop.see below image.

Happy coding…Thanks.

Post Author: adama