Function FIB calculates the Nth term of a Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21...), in which each number, after the first two, is the sum of the two numbers immediately preceding it. FIB(0) is defined to be 0.
De funksje FIB () berekkent de n- de term fan in Fibonacci- rige (1, 1, 2, 3, 5, 8, 13, 21...). Hjiryn is nei de earste twa termen elke term de som fan beide termen dy' t der oan foarôf geane. FIB( 0) is per definysje 0.