%I #15 Mar 11 2017 03:41:54
%S 0,2,2,4,2,4,2,6,4,4,2,6,2,4,4,8,2,6,2,6,4,4,2,8,4,4,6,6,2,6,2,10,4,4,
%T 4,8,2,4,4,8,2,6,2,6,6,4,2,10,4,6,4,6,2,8,4,8,4,4,2,8,2,4,6,12,4,6,2,
%U 6,4,6,2,10,2,4,6,6,4,6,2,10,8,4,2,8,4,4,4,8,2,8,4,6,4,4,4,12
%N Number of prime factors of n^2.
%C a(n) = 2 if n is prime.
%C All terms are even.
%C Record values are 2(m-1) for n = 2^m, m >= 0.
%H Indranil Ghosh, <a href="/A255201/b255201.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) = A001222(n^2) = A001222(A000290(n)) = 2*A001222(n).
%t Table[PrimeOmega[n^2], {n, 1000}] (* _Indranil Ghosh_, Mar 11 2017 *)
%o (PARI) a(n) = bigomega(n^2); \\ _Michel Marcus_, Feb 17 2015
%Y Cf. A000290, A001222.
%K nonn
%O 1,2
%A _Zak Seidov_, Feb 17 2015
|