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 A119746 #7 Feb 24 2025 22:44:23 %S A119746 1,2,3,6,7,19,38,49,118,197,440,716,992,1268,1544,1820,2040,2313,9524, %T A119746 12113,33210,45596,60298,74944,89646,102032,116678,129067,684624, %U A119746 826077,1219334,2189180,2203807,7807703,15615406,18789059,50019871,100039302 %N A119746 Sum of previous term and preceding relatively prime terms. %F A119746 a(1)=1, a(2)=2, for n>=2, a(n+1) = a(n) + Sum_{1<=k<n, gcd(a(n),a(k))=1} a(k). %t A119746 s={1,2};Do[AppendTo[s,s[[-1]]+Total[Select[s,CoprimeQ[#,s[[-1]]]&]]],{n,36}];s (* _James C. McMahon_, Feb 24 2025 *) %Y A119746 Cf. A120610. %K A119746 nonn %O A119746 1,2 %A A119746 _Franklin T. Adams-Watters_, Jun 16 2006