A323365 Sum of Stern's Diatomic sequence, A002487 and its Dirichlet inverse, A317843.
2, 0, 0, 1, 0, 4, 0, 1, 4, 6, 0, 2, 0, 6, 12, 1, 0, 4, 0, 3, 12, 10, 0, 2, 9, 10, 8, 3, 0, -4, 0, 1, 20, 10, 18, 4, 0, 14, 20, 3, 0, 4, 0, 5, 4, 14, 0, 2, 9, 5, 20, 5, 0, 8, 30, 3, 28, 14, 0, 4, 0, 10, 20, 1, 30, -8, 0, 5, 28, 0, 0, 4, 0, 22, -2, 7, 30, 0, 0, 3, 16, 22, 0, 8, 30, 26, 28, 5, 0, 20, 30, 7, 20, 18, 42, 2, 0, 9, 4, 7, 0, 4, 0, 5, 0
Offset: 1
Links
Crossrefs
Programs
Formula
From Antti Karttunen, Dec 08 2021: (Start)
a(1) = 2, and for n > 1, a(n) = -Sum_{d|n, 1A002487(d) * A317843(n/d).
a(4*n) = A002487(n).
(End)
Comments