cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A382605 Number of distinct solutions to the problem of folding in half a chain of linked rods of length 1, ..., n.

Original entry on oeis.org

0, 0, 1, 1, 0, 0, 1, 2, 0, 0, 1, 1, 0, 0, 2, 1, 0, 0, 1, 3, 0, 0, 1, 2, 0, 0, 3, 1, 0, 0, 1, 2, 0, 0, 4, 1, 0, 0, 4, 1, 0, 0, 1, 4, 0, 0, 1, 2, 0, 0, 3, 1, 0, 0, 3, 3, 0, 0, 1, 1, 0, 0, 2, 1, 0, 0, 1, 3, 0, 0, 1, 1, 0, 0, 4, 1, 0, 0, 1, 4, 0, 0, 1, 5, 0, 0, 3, 1, 0, 0, 1, 3, 0, 0, 2, 1, 0, 0, 6, 1
Offset: 1

Views

Author

Daniel Mondot, Mar 31 2025

Keywords

Comments

In order to be able to fold such chain in half, the total length of the chain (A000217(n)) has to be even, which is true when n=3 (mod 4) or n=0 (mod 4).
Conjecture: Whenever the length of the chain is even, there is at least one solution. That makes A154708 the sequence that lists numbers k that have at least one solution.

Examples

			A chain of 7 rods of length 1 to 7, can be folded in half in only one way: 2+3+4+5 on one side, 6+7+1, on the other, both sides being 14 in total length. Therefore a(7) = 1.
		

Crossrefs