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!)
A352257 Sum of all parts of all partitions of n into an odd number of consecutive parts. 5
1, 2, 3, 4, 5, 12, 7, 8, 18, 10, 11, 24, 13, 14, 45, 16, 17, 36, 19, 40, 42, 22, 23, 48, 50, 26, 54, 56, 29, 90, 31, 32, 66, 34, 105, 72, 37, 38, 78, 80, 41, 126, 43, 44, 180, 46, 47, 96, 98, 100, 102, 52, 53, 162, 110, 112, 114, 58, 59, 180, 61, 62, 252, 64, 130, 198 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) is n times the number of partitions of n into an odd number of consecutive parts.
LINKS
FORMULA
a(n) = n*A082647(n).
a(n) = A245579(n) - A352505(n). - Omar E. Pol, Mar 19 2022
EXAMPLE
For n = 15 the partitions of 15 into an odd number of consecutive parts are [15], [6, 5, 4] and [5, 4, 3, 2, 1], so a(15) = 15 + 6 + 5 + 4 + 5 + 4 + 3 + 2 + 1 = 15*3 = 45.
PROG
(PARI) a(n) = my(q = sqrt(2*n)); n*sumdiv(n, d, (d%2) && (d < q)); \\ Michel Marcus, Mar 11 2022; after A082647
CROSSREFS
Row sums of A352499.
Sequence in context: A135323 A052106 A064446 * A225607 A227987 A261863
KEYWORD
nonn
AUTHOR
Omar E. Pol, Mar 09 2022
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 August 12 12:28 EDT 2024. Contains 375092 sequences. (Running on oeis4.)