# Answer to Question #44982 in Other Programming & Computer Science for iswaryav

Question #44982

Given a Fibonacci sequence (http://en.wikipedia.org/wiki/Fibonacci_number), start cancelling every Lth element. Wrap around and continue the cancellation until only one element remains. As the Fibonacci number will overflow in a traditional data type, take modulus of the number with 1000000007.

Expert's answer

## Comments

## Leave a comment