login
Fibonacci{p-(p/5)} is the first Fibonacci number that p divides and this is p-(p/5).
4

%I #10 Jun 22 2024 06:22:08

%S 3,4,5,8,10,18,24,30,44,58,68,70,78,84,104,128,130,164,168,178,190,

%T 224,228,238,250,270,284,310,358,368,378,384,418,430,438,444,464,468,

%U 478,488,490,498,504,524,548,570,588,598,608,630,644,648,658,684,718,728,738,750

%N Fibonacci{p-(p/5)} is the first Fibonacci number that p divides and this is p-(p/5).

%H Amiram Eldar, <a href="/A079347/b079347.txt">Table of n, a(n) for n = 1..10000</a>

%e a(4) = 8 because A079346(4) = 7, (7/5) = -1 and 7-(-1) = 8.

%o (PARI) forprime (p=2, 500, wss=p-kronecker(5, p); for(n=1, wss, if( fibonacci(n)%p==0, if( n==wss, print1(wss", "), break) ) ))

%Y Cf. A079346, A079348, A079349, A262708.

%K nonn

%O 1,1

%A _Jon Perry_, Jan 04 2003

%E Offset corrected and a(1)-a(3) and more terms added by _Amiram Eldar_, Jun 22 2024