Hi all,
I’m exploring an integer sequence that might be interesting for the OEIS. I'm a complete amateur so I figured I should get feedback here before trying to create a draft:
--
You received this message because you are subscribed to the Google Groups "SeqFan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seqfan+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/00c305a7-b89c-4f89-afd2-4b587610a7a3n%40googlegroups.com.
--
Hey Brendan,
Thanks for the insight! I tried to work out out a formula based on your observation. For the primitive sequence b(n) (compositions where gcd = median = 1):
b(n) = 1 + Σₖ₌₂ⁿ⁻¹ Σⱼ₌₁^min(⌊k/2⌋, n-k) C(k,j) · C(n-k-1, j-1)
Where k is the number of parts, j is the number of parts greater than 1, C(k,j) chooses positions for the non-ones, and C(n-k-1, j-1) distributes the remaining sum among those j parts (each ≥ 2).
I verified this matches the known values discovered by Alois P. Heinz up to n=149. Having spoken with him, b(n) probably merits its own sequence entry so the formula for gcd(parts) = median(parts) can be:
a(n) = Σ_{d|n} AXXXXXX(n/d)
Does this seem right?
Thanks,
Austen
To view this discussion visit https://groups.google.com/d/msgid/seqfan/56f3d5d9-0f74-416d-ab81-ed8e47f764edn%40googlegroups.com.