A047930 Smallest positive Fibonacci number divisible by n.
1, 2, 3, 8, 5, 144, 21, 8, 144, 610, 55, 144, 13, 46368, 6765, 144, 34, 144, 2584, 832040, 21, 832040, 46368, 144, 75025, 10946, 14930352, 46368, 377, 1548008755920, 832040, 46368, 6765, 34, 102334155, 144, 4181, 2584, 317811, 832040, 6765, 46368, 701408733
Offset: 1
Examples
Fibonacci(12) = 144 is the first Fibonacci number that is divisible by 6, so a(6) = 144.
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..1000 (first 500 terms from T. D. Noe)
- Samin Riasat, Z[phi] and the Fibonacci Sequence Modulo n, Mathematical Reflections 1 (2011) pp. 1-7.
Programs
-
Mathematica
With[{fibs = Fibonacci[Range[150]]}, Flatten[Table[Select[fibs, Divisible[#, n] &, 1], {n, 60}]]] (* Harvey P. Dale, Oct 20 2011 *)
-
PARI
a(n)=my(k); while(fibonacci(k++)%n,); fibonacci(k) \\ Charles R Greathouse IV, Feb 04 2014
Formula
a(n) = n * A037943(n). - Alois P. Heinz, Jan 08 2017
Extensions
More terms from Patrick De Geest, Jun 15 1999
Comments