This Perl script should answer your question for any index in the Fibonacci sequence. (until it overflows a variable) sub fib { print "Enter a number: "; chomp($n = ); $x = 1; $y = 1; $ans = 0; $i = $n; while ($i > 0) { $ans = $y; $y = $x; $x += $ans; $i--; } print "\nThe Fibonacci number at index $n is $ans\n"; } &fib; Enter a number: 22 The Fibonacci number at index 22 is 17711 here are the first 20, just add 19 and 20 and you get 21 and add 20 and 21 and you get 22 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765 . .
the first seven Fibonacci numbers are 1,1,2,3,5,8,13. 13 is a Fibonacci number.
The 22nd Fibonacci number is 17,711
123 is not a Fibonacci number.
The 365th Fibonacci number is 8531073606282249384383143963212896619394786170594625964346924608389878465365.
The 100th Fibonacci number is 354,224,848,179,261,915,075.
The twelfth Fibonacci number is 144.
How to answer with formula
Yes - 5 is the fifth Fibonacci number.
No, they are not the normal Fibonacci numbers.
The 16th number of the Fibonacci sequence is 987.
The 20th Fibonacci number in the sequence is 6,765.
Yes. 610 is the 15th number in the Fibonacci sequence.