How to calculate the fibonacci entry point for N numbers p1, p2, p3, ...., pn. (1 < = pi < = 109)
FEP(pi) = j such that jth fibonacci number is the first fibonacci number Fj divisible by pi
How can we find it efficiently for N numbers.
Ex,
input = 2, output = 3
input = 5, output = 5
input = 13, output = 7