OFFSET
2,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 2..5000
FORMULA
EXAMPLE
Since omega(n) = A001221(n) = 0, 1, 1, 1, 1, 2, 1, 1, 1, 2 and we skip the initial zero term, we have:
a(1) = 1^1 = 1.
a(2) = 1^1 + 1^1 = 2.
a(3) = 1^1 + 1^1 + 1^1 = 3.
a(4) = 1^1 + 1^1 + 1^1 + 1^1 = 4.
a(5) = 1^1 + 1^1 + 1^1 + 1^1 + 2^1 = 6.
a(9) = 1^1 + 1^1 + 1^1 + 1^1 + 2^2 + 1^1 + 1^1 + 1^1 + 2^1 = 13.
MATHEMATICA
Table[Sum[PrimeNu[k]^(PrimeNu[n - k + 2]), {k, 2, n}], {n, 2, 50}] (* G. C. Greubel, May 18 2017 *)
PROG
(PARI) for(n=2, 25, print1(sum(k=2, n, omega(k)^(omega(n-k+2))), ", ")) \\ G. C. Greubel, May 18 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jan 10 2006
EXTENSIONS
Corrected and extended by Giovanni Resta, Jun 13 2016
Formulas corrected by G. C. Greubel, May 18 2017
STATUS
approved