OFFSET
0,1
COMMENTS
From Robert Israel, Jan 05 2017: (Start)
If m and n are odd, m > 1 and m | n, then a(n) <= a(m).
a(n) = 2 if and only if 3 | n.
a(n) = 3 if and only if n is in A091999.
a(n) is never 5.
a(n) = 7 if and only if n is in A259755.
(End)
LINKS
FORMULA
MAPLE
lucas:= n -> combinat:-fibonacci(n+1)+combinat:-fibonacci(n-1):
spf:= proc(n) local F;
F:= remove(hastype, ifactors(n, easy)[2], symbol);
if F <> [] then return min(seq(f[1], f=F)) fi;
min(numtheory:-factorsec(n))
end proc:
spf(1):= 1:
map(spf @ lucas, [$0..200]); # Robert Israel, Jan 05 2017
MATHEMATICA
f[n_]:=(FactorInteger@LucasL@n)[[1, 1]]; Array[f, 60, 0]
PROG
(Magma) [2, 1] cat [Minimum(PrimeDivisors(Lucas(n))): n in [2..60]];
(PARI) a000032(n) = fibonacci(n+1)+fibonacci(n-1)
a(n) = if(a000032(n-1)==1, 1, factor(a000032(n-1))[1, 1]) \\ Felix Fröhlich, Dec 26 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Dec 26 2016
EXTENSIONS
Offset changed from Bruno Berselli, Dec 27 2016
STATUS
approved