Matematik;Fibonacci sequence of numbers
Jeg sidder og prøver at blive klogere..Som overskriften antyder er det på tal.
Jeg har fundet denne site som dækker
Fibonacci sequence of numbers rimlig godt.
http://www.mcs.surrey.ac.uk/Personal/R.Knott/Fibonacci/fibtable.html#fib100
Jeg mangler så bare forståelse for at bruge det på en lille opgave jeg har fået stilt at et online puzzle game:
You may solve this problem with or without programming, but it has been optimised for solution with a programming method.
The Fibonacci sequence of numbers is defined as:
F[0]=0
F[1]=1
and for all x>1,
F[x]=F[x-1]+F[x-2]
Hence the sequence goes 0,1,1,2,3,5,8,13,21,...
The problem:
What is the smallest value of x>0 such that F[x]=0 mod 2^32