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.

A294847 a(n) is the total number of line segments in the diagram described in A236104 after n-th stage, with a(0) = 2.

Original entry on oeis.org

2, 4, 6, 8, 12, 14, 20, 22, 28, 32, 38, 40, 48, 50, 56, 64, 74, 76, 86, 88, 98, 106, 112, 114, 126, 132, 138, 146, 160, 162
Offset: 0

Views

Author

Omar E. Pol, Nov 09 2017

Keywords

Comments

Note that the diagram is also the top view of the stepped pyramid with n levels described in A245092.
For the construction of the diagram using Dyck paths and for more information about the pyramid see A237593.

Examples

			Illustration of initial terms (n = 1..6):
.                                                      _ _ _ _
.                                        _ _ _        |_ _ _  |_
.                            _ _ _      |_ _ _|       |_ _ _|   |_
.                  _ _      |_ _  |_    |_ _  |_ _    |_ _  |_ _  |
.          _ _    |_ _|_    |_ _|_  |   |_ _|_  | |   |_ _|_  | | |
.    _    |_  |   |_  | |   |_  | | |   |_  | | | |   |_  | | | | |
.   |_|   |_|_|   |_|_|_|   |_|_|_|_|   |_|_|_|_|_|   |_|_|_|_|_|_|
.
.    4      6        8          12           14             20
		

Crossrefs