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