This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A163536 #17 Jul 03 2025 20:39:38 %S A163536 0,1,1,0,2,2,0,0,0,0,2,2,0,1,1,0,0,0,0,1,1,0,2,2,0,1,1,0,2,2,0,1,1,0, %T A163536 0,0,0,1,1,0,2,2,0,0,0,0,2,2,0,1,1,0,2,2,0,1,1,0,2,2,0,0,0,0,2,2,0,1, %U A163536 1,0,0,0,0,1,1,0,2,2,0,0,0,0,2,2,0,1,1,0,0,0,0,1,1,0,2,2,0,0,0,0,2,2 %N A163536 The relative direction (0=straight ahead, 1=turn right, 2=turn left) of the Peano curve A163334 at point n. %C A163536 a(9*n) = a(81*n) for all n. %H A163536 Antti Karttunen, <a href="/A163536/b163536.txt">Table of n, a(n) for n = 1..59049</a> %F A163536 a(n) = A163241((A163534(n+1)-A163534(n)) modulo 4). %F A163536 a(n) = A014681(A163537(n)). %o A163536 (Scheme) (define (A163536 n) (A163241 (modulo (- (A163534 (1+ n)) (A163534 n)) 4))) %Y A163536 Cf. A163534 (direction), A163537 (transposed relative). %K A163536 nonn %O A163536 1,5 %A A163536 _Antti Karttunen_, Aug 01 2009 %E A163536 Name corrected by _Kevin Ryde_, Aug 29 2020