OFFSET
1,2
COMMENTS
The triangle up to the (1 + 2^n)th row is the n-th iteration of the curve, rotated such that the curve begins at the top and continues down to the left.
As this is not a space-filling curve, not all points on the triangular lattice are reached by the curve; these points are given the value 0.
LINKS
Max Barrentine, Table of n, a(n) for n = 1..2144
Wikipedia, Sierpiński arrowhead curve
EXAMPLE
The first 5 rows of this triangle show how this curve begins (connect the terms in numerical order):
1;
2, 0;
0, 3, 4;
9, 8, 0, 5;
10, 0, 7, 6, 0;
...
CROSSREFS
AUTHOR
Max Barrentine, Sep 13 2015
STATUS
approved