A319573 The y coordinates of the stripe enumeration of N X N where N = {0, 1, 2, ...}.
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
Keywords
Crossrefs
Programs
-
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)
Comments