OFFSET
0,4
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
EXAMPLE
a(9) = 3 because 9^4+1 = 6562 = 2 * 17 * 193, which has 3 prime factors, counted with multiplicity
MATHEMATICA
Join[{0}, Table[Total[Transpose[FactorInteger[n^4 + 1]][[2]]], {n, 100}]] (* T. D. Noe, Aug 10 2011 *)
Join[{0}, Table[PrimeOmega[n^4+1], {n, 120}]] (* Harvey P. Dale, Sep 25 2012 *)
PROG
(PARI) a(n) = bigomega(n^4+1); \\ Michel Marcus, Feb 09 2020
(Magma) [0] cat [&+[p[2]: p in Factorization(n^4+1)]:n in [1..120]]; // Marius A. Burtea, Feb 09 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Aug 09 2011
STATUS
approved