Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #11 Apr 04 2016 10:55:52
%S 1,2,4,2,3,5,5,3,3,3,7,2,3,5,6,3,4,4,6,3,3,5,6,3,4,5,9,2,5,4,7,4,4,4,
%T 7,2,4,9,7,3,4,3,7,4,3,5,7,3,5,4,7,2,6,6,6,4,3,3,9,4,3,7,8,3,4,4,7,4,
%U 4,6,8,2,4,6,7,3,4,4,8,6,4,4,8,4,3,6
%N Number of prime factors, with multiplicity, of the n-th n-gonal number (A060354).
%H Colin Barker, <a href="/A271320/b271320.txt">Table of n, a(n) for n = 2..1000</a>
%F a(n) = A001222(A060354(n)).
%e a(7) = 5 because A060354(7) = 112 = 2^4 * 7^1.
%o (PARI)
%o pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
%o a(n) = bigomega(pg(n, n))
%o vector(100, n, n++; a(n))
%Y Cf. A001222, A060354, A271319, A271321, A271322.
%K nonn
%O 2,2
%A _Colin Barker_, Apr 04 2016