OFFSET
1,3
FORMULA
a(n) = Sum_{k=1..n-1} c(k) * c(n-k), where c = A336040.
EXAMPLE
a(10) = 4. There are 4 ordered ways to write 10 as the sum of two refactorable numbers: 1 + 9 = 2 + 8 = 8 + 2 = 9 + 1.
a(36) = 3. There are 3 ordered ways to write 36 as the sum of two refactorable numbers: 12 + 24 = 18 + 18 = 24 + 12.
MATHEMATICA
Table[Sum[(1 - Ceiling[k/DivisorSigma[0, k]] + Floor[k/DivisorSigma[0, k]]) (1 - Ceiling[(n - k)/DivisorSigma[0, (n - k)]] + Floor[(n - k)/DivisorSigma[0, (n - k)]]), {k, n - 1}], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 06 2024
STATUS
approved