Let 1, 2, 3, 4 represent moves to the right, down, left and up; this sequence describes the movements in the clockwise square spiral (a.k.a. Ulam Spiral).
A063826
Let 1, 2, 3, 4 represent moves to the right, down, left and up; this sequence describes the movements in the clockwise square spiral (a.k.a. Ulam Spiral).
Terms
- a(0) =1a(1) =2a(2) =3a(3) =3a(4) =4a(5) =4a(6) =1a(7) =1a(8) =1a(9) =2a(10) =2a(11) =2a(12) =3a(13) =3a(14) =3a(15) =3a(16) =4a(17) =4a(18) =4a(19) =4a(20) =1a(21) =1a(22) =1a(23) =1a(24) =1a(25) =2a(26) =2a(27) =2a(28) =2a(29) =2
External references
- oeis: A063826