OFFSET
1,3
COMMENTS
LINKS
R. D. Carmichael, On the numerical factors of the arithmetic forms α^n±β^n, Annals of Math., 15 (1913), 30-70.
Blair Kelly, Fibonacci and Lucas Factorizations
Ron Knott, Fibonacci numbers and special prime factors
Wikipedia, Carmichael's theorem
EXAMPLE
The prime factors of F(46)= 139 * 461 * 28657 that do not divide any smaller Fibonacci number are 139 and 461, so a(46) = 461.
MATHEMATICA
prms={}; Table[f=First/@FactorInteger[Fibonacci[n]]; p=Complement[f, prms]; prms=Join[prms, p]; If[p=={}, 1, Last[p]], {n, 50}]
PROG
(Perl) use ntheory ":all"; my %s; for (1..100) { my @f = factor(lucasu(1, -1, $_)); pop @f while @f && $s{$f[-1]}++; say "$_ ", $f[-1] || 1; } # Dana Jacobsen, Oct 13 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Sondow, Oct 12 2015
STATUS
approved