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!)
A348536 Number of partitions of n into 3 parts that divide n. 2
0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
From David A. Corneth, Oct 08 2022: (Start)
Proof of formula: suppose we have a partition d_1 + d_2 + d_3 = n where 0 < d_1 <= d_2 <= d_3 and d_1 | n, d_2 | n and d_3 | n.
Then let m_i * d_i = n for i in (1, 2, 3).
Dividing d_1 + d_2 + d_3 = n by n gives d_1/n + d_2/n + d_3/n = n/n, i.e., 1/m_1 + 1/m_2 + 1/m_3 = 1. There are 3 solutions to that equation namely (m_1, m_2, m_3) in {(2, 4, 4), (2, 3, 6), (3, 3, 3)}. The lcm of these numbers is 12 so the sequence is periodic with a period of 12 and then calculating the first 12 terms defines the sequence.
Alternative name: number of divisors of n from {3, 4, 6}. (End)
LINKS
FORMULA
a(n) = Sum_{j=1..floor(n/3)} Sum_{i=j..floor((n-j)/2)} c(n/j) * c(n/i) * c(n/(n-i-j)), where c(n) = 1 - ceiling(n) + floor(n).
a(n + 12) = a(n) where n >= 1. - David A. Corneth, Oct 08 2022
EXAMPLE
a(12) = 3 via 2 + 4 + 6 = 3 + 3 + 6 = 4 + 4 + 4. - David A. Corneth, Oct 08 2022
MATHEMATICA
Block[{c}, c[n_] := 1 - Ceiling[n] + Floor[n]; Array[Sum[Sum[c[#/j]*c[#/i]*c[#/(# - i - j)], {i, j, Floor[(# - j)/2]} ], {j, Floor[#/3]} ] &, 105]] (* Michael De Vlieger, Oct 21 2021 *)
PROG
(PARI) a(n) = [0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 3][(n-1)%12 + 1] \\ David A. Corneth, Oct 08 2022
(PARI) a(n) = { my(d = divisors(n), res = 0); d = d[^#d]; forvec(x = vector(2, i, [1, #d]), s = d[x[1]] + d[x[2]]; if(n - s >= d[x[2]], if(n % (n - s) == 0, print([d[x[1]], d[x[2]], n-s]); res++ ) ) , 1 ); res } \\ David A. Corneth, Oct 08 2022
CROSSREFS
Sequence in context: A066620 A219023 A025427 * A245963 A291375 A346914
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Oct 21 2021
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)