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.

Showing 1-1 of 1 results.

A319158 Given an equilateral triangular grid with side n, containing n(n+1)/2 points, a(n) is the minimal number of points to be selected, such that any equilateral triangle of points will include at least one of the selection, if the triangle has the same orientation as the grid.

Original entry on oeis.org

0, 1, 2, 4, 6, 9, 13, 18, 23, 29, 35, 43, 51
Offset: 1

Views

Author

Ed Wynn, Sep 12 2018

Keywords

Comments

This is the complementary problem to A157795: A157795(n-1) + a(n) = n(n+1)/2.
This is the same problem as A227116, except that here the triangles must have the same orientation as the grid. Here, the triangle's sides must be aligned with the sides of the grid, and the horizontal side of the triangle must be its base (assuming the grid has a horizontal base). A227116 is different in that it also includes upside-down triangles, rotated 180 degrees compared to the grid, since these have sides aligned with the grid (but different orientation).

Examples

			For n=5, there is a unique solution for a(5)=6 (representing selected points by O):
        O
       . .
      , O ,
     . O O .
    O . , . O
It can be seen that this is not a valid solution for A227116 because of the upside-down triangle of commas. One solution for A227116(5)=7 would be to select one of the commas as well.
		

Crossrefs

Showing 1-1 of 1 results.