This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A086597 #17 Feb 16 2025 08:32:50 %S A086597 0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,2,1,1,1, %T A086597 1,1,3,1,1,1,2,1,1,2,1,2,1,1,2,2,1,1,2,1,2,1,2,2,2,1,2,1,1,2,1,1,3,2, %U A086597 3,2,2,1,2,1,1,1,2,2,2,2,3,1,1,2,2,2,2,3,2,2,2,2,1,1,3,2,4,1,2,2,2,2,3,2,1 %N A086597 Number of primitive prime factors in Fibonacci(n). %C A086597 A prime factor of Fibonacci(n) is called primitive if it does not divide Fibonacci(r) for any r < n. It can be shown that there is at least one primitive prime factor for n > 12. When n is prime, all the prime factors of Fibonacci(n) are primitive; see A080345 for a count of these. %H A086597 T. D. Noe, <a href="/A086597/b086597.txt">Table of n, a(n) for n = 1..1000</a> %H A086597 R. D. Carmichael, <a href="https://doi.org/10.2307%2F1967797">On the numerical factors of the arithmetic forms α^n ± β^n</a>, Annals of Math., 15 (1/4) (1913), 30-70. %H A086597 Blair Kelly, <a href="http://mersennus.net/fibonacci//">Fibonacci and Lucas Factorizations</a> %H A086597 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/FibonacciNumber.html">Fibonacci Number</a> %F A086597 a(n) = Sum{d|n} mu(n/d) A022307(d), inverse Mobius transform of A022307. %F A086597 a(n) = 0 if and only if n = 1, 2, 6, or 12, by Carmichael's theorem. - _Jonathan Sondow_, Dec 07 2017 %e A086597 a(19) = 2 because Fibonacci(19) = 37*113 and neither 37 nor 113 divide a smaller Fibonacci number. %t A086597 pLst={}; Join[{0, 0}, Table[f=Transpose[FactorInteger[Fibonacci[n]]][[1]]; f=Complement[f, pLst]; cnt=Length[f]; pLst=Union[pLst, f]; cnt, {n, 3, 150}]] %o A086597 (PARI) a(n)=my(t=fibonacci(n),g); fordiv(n,d, if(d==n, break); g=fibonacci(d); while((g=gcd(g, t))>1, t /= g)); omega(t) \\ _Charles R Greathouse IV_, Oct 06 2016 %Y A086597 Cf. A022307 (number of distinct prime factors), A038575 (number of prime factors, counting multiplicity), A061446 (primitive part of Fibonacci(n)), A080345. %K A086597 nonn %O A086597 1,19 %A A086597 _T. D. Noe_, Jul 24 2003