%I #23 May 30 2013 10:13:50
%S 2,4,2,4,5,10,6,0,10,7,0,10,12,22,8,0,16,10,11,28,0,0,9,0,48,40,34,22,
%T 0,34,0,0,0,16,28,10,36,0,18,0,18,0,17,0,34,22,14,0,54,148,16,40,52,
%U 34,0,0,11,0,0,34,28,0,0,0,68,0,21,16
%N a(n) = smallest k>=2 such that n divides Fibonacci(k-1)+2
%C 0 is inserted if no such k exists.
%e n=1 divides F(0)+2=2. n=2 divides F(0)+2=2. n=3 divides F(1)+2=3. n=4 divides F(3)+2=4.
%o (PARI) a(n) = {k = 2; while (((fibonacci(k-1)+2) % n), k++; if (k > 6*n+2 , return(0));); return (k);} \\ _Michel Marcus_, May 30 2013
%Y Cf. A157725, A001177, A214782.
%K nonn
%O 1,1
%A _Art DuPre_, Aug 03 2012