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 A317839 #6 Aug 10 2018 09:06:29 %S A317839 1,0,1,0,2,0,2,0,2,0,4,0,4,0,0,0,4,0,6,0,4,0,6,0,4,0,4,0,6,0,4,0,0,0, %T A317839 4,0,10,0,4,0,10,0,12,0,6,0,8,0,6,0,6,0,12,0,4,0,2,0,10,0,8,0,-4,0,0, %U A317839 0,10,0,6,0,12,0,14,0,10,0,10,0,12,0,6,0,18,0,14,0,10,0,16,0,12,0,10,0,2,0,10,0,8,0,18,0,16,0,4 %N A317839 Möbius transform of A002487, Stern's Diatomic sequence. %H A317839 Antti Karttunen, <a href="/A317839/b317839.txt">Table of n, a(n) for n = 1..16384</a> %H A317839 <a href="/index/St#Stern">Index entries for sequences related to Stern's sequences</a> %F A317839 a(n) = Sum_{d|n} A008683(n/d)*A002487(d). %F A317839 a(n) = A000010(n) - A317841(n). %o A317839 (PARI) %o A317839 A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487 %o A317839 A317839(n) = sumdiv(n,d,moebius(n/d)*A002487(d)); %Y A317839 Cf. A002487, A008683, A317837, A317838, A317840, A317841, A317843. %K A317839 sign %O A317839 1,5 %A A317839 _Antti Karttunen_, Aug 09 2018