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 A285727 #11 Apr 25 2017 11:47:56 %S A285727 0,0,1,1,2,2,3,2,2,3,5,3,7,5,3,4,11,4,13,5,5,7,17,6,4,11,4,7,19,6,23, %T A285727 8,7,13,6,9,29,17,11,10,31,10,37,11,6,19,41,12,9,9,13,13,43,8,10,14, %U A285727 17,23,47,15,53,29,10,16,14,14,59,17,19,15,61,18,67,31,9,19,15,22,71,20,8,37,73,21,22,41,23,22,79,12,21,23,29,43,26,24,83,25,14 %N A285727 a(1) = a(2) = 0, and for n > 2, a(n) = A252463(A252463(n)). %C A285727 For n >= 3, a(n) gives the contents of the grandparent node of the node containing n in binary trees like A005940 and A163511. %C A285727 Each number larger than one occurs exactly four times in this sequence. %H A285727 Antti Karttunen, <a href="/A285727/b285727.txt">Table of n, a(n) for n = 1..8192</a> %F A285727 a(1) = a(2) = 0, and for n > 2, a(n) = A252463(A252463(n)). %F A285727 For n > 2, if n is even, a(n) = A252463(n/2), otherwise a(n) = A252463(A064989(n)). %o A285727 (Scheme) %o A285727 (define (A285727 n) (if (<= n 2) 0 (A252463 (A252463 n)))) %Y A285727 Cf. A005940, A064989, A163511, A252463, A285728. %K A285727 nonn %O A285727 1,5 %A A285727 _Antti Karttunen_, Apr 25 2017