OFFSET
1,3
FORMULA
a(n) = Sum_{1..floor((n-1)/2)} i * (n-i) * (1 - [Omega(n-2i) = 2]), where [] is the Iverson bracket and Omega = A001222.
MATHEMATICA
Table[Sum[i*(n - i) (1 - KroneckerDelta[PrimeOmega[n - 2 i], 2]), {i, Floor[(n - 1)/2]}], {n, 80}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 18 2018
STATUS
approved