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.

A386820 a(n) is the size of largest subset of {1, 1/2, ..., 1/n} that can be partitioned into two parts, the sum of elements of which are equal.

Original entry on oeis.org

0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 6, 6, 6, 9, 9, 9, 11, 11, 11, 14, 14, 14
Offset: 1

Views

Author

Yifan Xie, Aug 03 2025

Keywords

Examples

			For a(6) = 4, the set {1, 1/2, 1/3, 1/6} is chosen because 1 = 1/2 + 1/3 + 1/6.
The two parts for a(18) = 11 are 1 + 1/5 + 1/6 + 1/15 = 1/2 + 1/3 + 1/4 + 1/9 + 1/10 + 1/12 + 1/18.
The two parts for a(20) = 11 are 1 + 1/9 + 1/10 + 1/15 + 1/18 = 1/2 + 1/3 + 1/5 + 1/6 + 1/12 + 1/20.
		

Crossrefs

Formula

a(n) = a(n-1) if n/k = p is a prime and p > A001008(k).