(Translated by https://www.hiragana.jp/)
A319573 - OEIS
login
A319573
The y coordinates of the stripe enumeration of N X N where N = {0, 1, 2, ...}.
5
0, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6
OFFSET
0,6
COMMENTS
See A319571 for comments and references.
PROG
(Julia)
# Function stripe is defined in A319571.
function StripeEnumerationY(len)
x, y, state = 0, 0, false
for n in 0:len
print("$y, ")
x, y, state = stripe(x, y, state)
end
end
StripeEnumerationY(84)
CROSSREFS
Cf. A319571 (stripe enumeration), A319572 (stripe x), this sequence (stripe y).
Cf. A319514 (shell enumeration), A319289 (shell x), A319290 (shell y).
Sequence in context: A017868 A353158 A334476 * A178904 A017858 A167769
KEYWORD
nonn
AUTHOR
Peter Luschny, Sep 23 2018
STATUS
approved