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.

A295774 a(n) is the minimum size of a restricted planar additive basis for the square [0,2n]^2.

Original entry on oeis.org

1, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92
Offset: 0

Views

Author

Jukka Kohonen, Nov 27 2017

Keywords

Comments

A planar additive basis for the square [0,2n]^2 is a set of points with nonnegative integer coordinates such that their pairwise sums cover the square. Self-sums are allowed. In a restricted basis all points are in the lower left quadrant [0,n]^2.
Matches A008574 at least up to a(23)=92.

Examples

			a(2)=8: the square [0,4]^2 is covered by the pairwise sums of {(0,0),(1,0),(2,0),(0,1),(2,1),(0,2),(1,2),(2,2)}, which has 8 elements.
		

Crossrefs

A295771 is the nonrestricted version.