2,2

Colin Barker, Table of n, a(n) for n = 2..1000

a(n) = A001221(A060354(n)).

a(7) = 2 because A060354(7) = 112 = 2^4 * 7^1.

(PARI)

pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number

a(n) = omega(pg(n, n))

vector(100, n, n++; a(n))

Cf. A001221, A060354, A271320, A271321, A271322.

Sequence in context: A233519 A192295 A037195 * A319178 A254041 A240712

Adjacent sequences: A271316 A271317 A271318 * A271320 A271321 A271322

nonn

Colin Barker, Apr 04 2016

approved