login
A319572
The x coordinates of the stripe enumeration of N X N where N = {0, 1, 2, ...}.
5
0, 0, 1, 2, 1, 0, 0, 1, 2, 3, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 10, 9, 8, 7, 6
OFFSET
0,4
COMMENTS
See A319571 for comments and references.
PROG
(Julia)
# Function stripe is defined in A319571.
function StripeEnumerationX(len)
x, y, state = 0, 0, false
for n in 0:len
print("$x, ")
x, y, state = stripe(x, y, state)
end
end
StripeEnumerationX(84)
CROSSREFS
Cf. A319571 (stripe enumeration), this sequence (stripe x), A319573 (stripe y).
Cf. A319514 (shell enumeration), A319289 (shell x), A319290 (shell y).
Sequence in context: A236412 A236263 A337126 * A108063 A164846 A363928
KEYWORD
nonn
AUTHOR
Peter Luschny, Sep 23 2018
STATUS
approved