Lexicographically earliest sequence of nonnegative terms forming a clockwise square spiral when nothing else is read except the parity of the digits or the parity of the terms (see the Comments section).

A341903

Lexicographically earliest sequence of nonnegative terms forming a clockwise square spiral when nothing else is read except the parity of the digits or the parity of the terms (see the Comments section).

Terms

    a(0) =0a(1) =1a(2) =3a(3) =2a(4) =5a(5) =4a(6) =7a(7) =6a(8) =8a(9) =9a(10) =20a(11) =10a(12) =201a(13) =22a(14) =210a(15) =24a(16) =21a(17) =26a(18) =28a(19) =12a(20) =20001a(21) =40a(22) =42a(23) =212a(24) =44a(25) =2001a(26) =46a(27) =48a(28) =60a(29) =14

External references