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.

A358566 Number of distinct spans of length n with no 3-term arithmetic progression, containing zero, and with maximum element smallest possible.

Original entry on oeis.org

1, 1, 2, 1, 4, 7, 6, 1, 2, 2, 2, 1, 2, 2, 20, 1, 14, 2, 2, 2, 4
Offset: 1

Views

Author

Joshua Zelinsky, Nov 22 2022

Keywords

Comments

Offset by 1 from the same function in the referenced paper, which does not include zero in their count of how long spans are for the "well-spaced rows".

Examples

			a(5)=4 since we have as possible spans 0,1,3,7,8; 0,1,5,6,8; 0,1,5,7,8; 0,2,3,7,8. (It is easy to check that if the maximum term is 7 or lower then there must be fewer than 5 elements in the sequence.)
		

Crossrefs

Cf. A005047.