login
A369917
Number of partitions of n into two distinct arithmetic numbers.
1
0, 0, 0, 1, 0, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 3, 2, 4, 2, 5, 3, 4, 3, 5, 4, 5, 4, 6, 3, 5, 3, 6, 5, 8, 5, 9, 5, 7, 4, 8, 6, 9, 7, 11, 7, 9, 7, 11, 9, 13, 8, 14, 8, 11, 8, 13, 11, 14, 11, 16, 12, 15, 11, 15, 12, 16, 13, 18, 12, 15, 14, 18, 16, 19, 15, 20, 14, 16, 15
OFFSET
1,8
FORMULA
a(n) = Sum_{k=1..floor((n-1)/2)} c(k) * c(n-k), where c = A245656.
EXAMPLE
a(14) = 2 ways (13+1 = 11+3, we do not count 7+7).
MATHEMATICA
a[n_] := Boole[IntegerQ[Mean[Divisors[n]]]]; Table[Sum[a[k]*a[n - k], {k, Floor[(n - 1)/2]}], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Feb 05 2024
STATUS
approved