Well met with Fibonacci bigger brother, AKA Tribonacci. As the name may already reveal, it works basically like a Fibonacci, but summing the last 3 (instead of 2) numbers of the sequence to generate ...
A simple Python program that interactively computes the nᵗʰ Tribonacci number. The Tribonacci sequence works like the Fibonacci sequence, but each term is the sum of the three preceding terms: T₀ = 0, ...