You are interested in the numbers that are divisible by k in the fibonacci sequence. Among these numbers, you seek the index of the nth, that is, the index i such that the ith fibonacci number is divisible by k, and such that there are exactly n-1 fibonacci numbers before that one that are also divisible by k.
发布评论
评论(1)
您对fibonacci序列中
k
的数字感兴趣。在这些数字中,您要查找n
th的索引k
,并且在此之前,n-1
fibonacci编号也完全由k
进行排除。You are interested in the numbers that are divisible by
k
in the fibonacci sequence. Among these numbers, you seek the index of then
th, that is, the indexi
such that thei
th fibonacci number is divisible byk
, and such that there are exactlyn-1
fibonacci numbers before that one that are also divisible byk
.