The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A365007 a(n) = Sum_{d|n} (-1)^(n/d-1) * binomial(d+1,2). 4
1, 2, 7, 6, 16, 17, 29, 22, 52, 42, 67, 57, 92, 79, 142, 86, 154, 143, 191, 146, 266, 189, 277, 217, 341, 262, 430, 279, 436, 402, 497, 342, 634, 444, 674, 507, 704, 553, 878, 562, 862, 766, 947, 677, 1222, 807, 1129, 857, 1254, 992, 1486, 942, 1432, 1250, 1622, 1079 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: -Sum_{k>=1} (-x)^k/(1-x^k)^3 = Sum_{k>=1} binomial(k+1,2) * x^k/(1+x^k).
MATHEMATICA
Table[DivisorSum[n, (-1)^(n/# - 1)*Binomial[# + 1, 2] &], {n, 56}] (* Michael De Vlieger, Oct 25 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (-1)^(n/d-1)*binomial(d+1, 2));
CROSSREFS
Partial sums give A366395.
Cf. A007437.
Sequence in context: A168205 A265495 A338041 * A082017 A072985 A371597
KEYWORD
nonn,look
AUTHOR
Seiichi Manyama, Oct 24 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 02:59 EDT 2024. Contains 373140 sequences. (Running on oeis4.)