OFFSET
1,1
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..500
FORMULA
a(n) = (A168171(n) - 1)/n. - Michel Marcus, Nov 29 2014
EXAMPLE
a(3)=46 because Fibonacci(46) = 139*461*28657 and 46*3+1 = 139 is a prime divisor of Fibonacci(46).
MATHEMATICA
lst={}; Do[k=1; While[!PrimeQ[k*n+1]||Mod[Fibonacci[k], k*n+1]>0, k++]; AppendTo[lst, k], {n, 1, 60}]; lst
PROG
(PARI) a(n) = {k = 1; while (! ((isprime(p=k*n+1) && ((fibonacci(k) % p) == 0))), k++); k; } \\ Michel Marcus, Nov 18 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Nov 18 2014
EXTENSIONS
Missing term a(419) in b-file inserted by Andrew Howroyd, Feb 23 2018
STATUS
approved