A365800 Dirichlet inverse of the characteristic function of triangular numbers (A010054).
1, 0, -1, 0, 0, -1, 0, 0, 1, -1, 0, 0, 0, 0, -1, 0, 0, 2, 0, 0, -1, 0, 0, 0, 0, 0, -1, -1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, -3, -1, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..101025
Programs
Formula
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, dA010054(n/d) * a(d).