A194003 Number of prime factors of n^8 + 1, counted with multiplicity.
0, 1, 1, 3, 1, 3, 2, 3, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 2, 3, 2, 3, 2, 4, 3, 3, 2, 6, 2, 4, 3, 3, 2, 2, 2, 4, 3, 3, 2, 4, 6, 3, 2, 2, 4, 3, 3, 2, 3, 3, 2, 2, 2, 2, 3, 3, 2, 5, 2, 3, 2, 4, 4, 4, 3, 6, 2, 5, 2, 2, 2, 5, 2, 5, 4, 4, 3, 4, 3, 5, 4, 2, 3, 4, 2, 4
Offset: 0
Examples
a(10) = 2 because 10^8 + 1 = 100000001 = 17 * 5882353 has 2 prime factors. a(40) = 6 because 40^8 + 1 = 6553600000001 = 17^2 * 113 * 337 * 641 * 929 has 6 prime factors (with multiplicity) and is the smallest example not squarefree.
Links
- Amiram Eldar, Table of n, a(n) for n = 0..10000
Programs
-
Magma
[0] cat [&+[p[2]: p in Factorization(n^8+1)]:n in [1..90]]; // Marius A. Burtea, Feb 09 2020
-
Mathematica
Join[{0}, Table[Total[Transpose[FactorInteger[n^8 + 1]][[2]]], {n, 50}]] PrimeOmega[Range[0,90]^8+1] (* Harvey P. Dale, May 27 2018 *)
-
PARI
a(n) = bigomega(n^8+1); \\ Michel Marcus, Feb 09 2020
Comments