The Fibonacci series, named after the Italian mathematician Leonardo Fibonacci, is an infinite sequence of numbers that has captivated mathematicians,…