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 A268722 #11 Jun 30 2022 14:43:46 %S A268722 0,2,13,5,31,27,10,8,59,63,54,52,20,22,49,17,115,119,126,124,108,110, %T A268722 121,105,40,42,37,45,103,99,34,32,227,231,238,236,252,254,233,249,216, %U A268722 218,213,221,247,243,210,208,80,82,93,85,79,75,90,88,203,207,198,196,68,70,193,65 %N A268722 a(n) = A003188(3*A006068(n)), where A003188 is binary Gray code and A006068 is its inverse. %H A268722 Antti Karttunen, <a href="/A268722/b268722.txt">Table of n, a(n) for n = 0..8191</a> %F A268722 a(n) = A003188(3*A006068(n)). %o A268722 (Scheme) (define (A268722 n) (A003188 (* 3 (A006068 n)))) %o A268722 (Python) %o A268722 def A268722(n): %o A268722 k, m = n, n>>1 %o A268722 while m > 0: %o A268722 k ^= m %o A268722 m >>= 1 %o A268722 return (a:=3*k)^ a>>1 # _Chai Wah Wu_, Jun 30 2022 %Y A268722 Cf. A003188, A006068. %Y A268722 Row 2 and column 2 of array A268725. %K A268722 nonn %O A268722 0,2 %A A268722 _Antti Karttunen_, Feb 13 2016