OFFSET
1,6
COMMENTS
Conjecture 1: a(n) is also the total number de parts in all partitions of n into an odd number of consecutive parts. - Omar E. Pol, Mar 16 2022
Conjecture 2: row sums of A352269. - Omar E. Pol, Mar 18 2022
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
A341309[n_]:=With[{t=Floor[(Sqrt[8n+1]-1)/2]}, DivisorSum[n, #&, OddQ[#]&&#<=t&]];
Array[A341309, 100] (* Paolo Xausa, Mar 25 2023 *)
PROG
(PARI) a(n) = my(m=n>>valuation(n, 2), s=(sqrtint(8*n+1)-1)\2); sumdiv(m, d, if (d <= s, d)); \\ Michel Marcus, Mar 25 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 14 2021
STATUS
approved