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 A284552 #11 Jun 30 2022 08:39:49 %S A284552 0,0,1,0,3,2,4,0,7,6,9,4,8,8,4,0,15,14,17,12,19,18,13,8,16,16,20,16,8, %T A284552 8,4,0,31,30,33,28,35,34,29,24,39,38,41,36,27,26,21,16,32,32,36,32,40, %U A284552 40,36,32,16,16,20,16,8,8,4,0,63,62,65,60,67,66,61,56,71,70,73,68,59,58,53,48,79,78,81,76,83,82,77,72,55,54,57,52,43,42 %N A284552 a(n) = A065621(n) modulo n. %H A284552 Antti Karttunen, <a href="/A284552/b284552.txt">Table of n, a(n) for n = 1..8192</a> %H A284552 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %F A284552 a(n) = A065621(n) modulo n. %o A284552 (Scheme) (define (A284552 n) (modulo (A065621 n) n)) %o A284552 (Python) %o A284552 def A284552(n): return (n^ (n&~-n)<<1)%n # _Chai Wah Wu_, Jun 29 2022 %Y A284552 Column 1 of A284270. %Y A284552 Cf. A065621. %K A284552 nonn,base %O A284552 1,5 %A A284552 _Antti Karttunen_, Apr 10 2017