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 A125070 #18 Sep 30 2023 21:55:49 %S A125070 0,1,1,0,1,2,1,0,0,2,1,1,1,2,2,1,1,1,1,1,2,2,1,1,0,2,0,1,1,3,1,0,2,2, %T A125070 2,0,1,2,2,1,1,3,1,1,1,2,1,2,0,1,2,1,1,1,2,1,2,2,1,2,1,2,1,1,2,3,1,1, %U A125070 2,3,1,0,1,2,1,1,2,3,1,2,1,2,1,2,2,2,2,1,1,2,2,1,2,2,2,1,1,1,1,0,1,3,1,1,3 %N A125070 a(n) = number of nonzero exponents in the prime factorization of n which are not primes. %H A125070 Antti Karttunen, <a href="/A125070/b125070.txt">Table of n, a(n) for n = 1..10000</a> %H A125070 <a href="/index/Eu#epf">Index entries for sequences computed from exponents in factorization of n</a>. %F A125070 From _Amiram Eldar_, Sep 30 2023: (Start) %F A125070 Additive with a(p^e) = A005171(e). %F A125070 Sum_{k=1..n} a(k) ~ n * (log(log(n)) + B - C), where B is Mertens's constant (A077761) and C = Sum_{p prime} (P(p) - P(p+1)) = 0.39847584805803104040..., where P(s) is the prime zeta function. (End) %e A125070 720 has the prime-factorization of 2^4 *3^2 *5^1. Two of these exponents, 4 and 1, are not primes. So a(720) = 2. %t A125070 f[n_] := Length @ Select[Last /@ FactorInteger[n], ! PrimeQ[ # ] &];Table[f[n], {n, 110}] (* _Ray Chandler_, Nov 19 2006 *) %o A125070 (PARI) A125070(n) = vecsum(apply(e -> if(isprime(e),0,1), factorint(n)[, 2])); \\ _Antti Karttunen_, Jul 07 2017 %Y A125070 Cf. A001221, A005171, A077761, A125071. %K A125070 nonn,easy %O A125070 1,6 %A A125070 _Leroy Quet_, Nov 18 2006 %E A125070 Extended by _Ray Chandler_, Nov 19 2006