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 A050605 #45 May 21 2023 17:11:14 %S A050605 0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,4,4,0,0, %T A050605 1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,5,5,0,0,1,1, %U A050605 0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2 %N A050605 Column/row 2 of A050602: a(n) = add3c(n,2). %C A050605 It seems that (n - Sum_{k=1..n} a(k) )/log(n) is bounded. - _Benoit Cloitre_, Oct 03 2002 %C A050605 2^a(n-1) is the highest power of 2 dividing the triangular number A000217(n) = n*(n+1)/2, for n >= 1. - _Benoit Cloitre_, Oct 03 2002 [corrected and rewritten by _Wolfdieter Lang_, Nov 21 2019] %C A050605 a(n) is the number of trailing 0's in the binary reflected Gray code of n+1 (A014550). - _Amiram Eldar_, May 15 2021 %H A050605 Vincenzo Librandi, <a href="/A050605/b050605.txt">Table of n, a(n) for n = 0..5000</a> %H A050605 Isabel Cação, Helmuth R. Malonek, Maria Irene Falcão, and Graça Tomaz, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL26/Falcao/falcao5.html">Intrinsic Properties of a Non-Symmetric Number Triangle</a>, J. Int. Seq., Vol. 26 (2023), Article 23.4.8. %F A050605 a(4*n+2) = A001511(n). - _Johannes W. Meijer_, Jun 18 2009 %F A050605 a(n) = A007814(n+1) + A007814(n+2) - 1. - _Ridouane Oudra_, Oct 08 2019 %p A050605 with(Bits): add3c := proc(a, b) option remember; `if`(0 = And(a, b), 0, 1 + add3c(Xor(a, b), 2*And(a, b))) end: A050605 := n -> add3c(n, 2): %p A050605 seq(A050605(n), n=0..80); # _Johannes W. Meijer_, Jun 18 2009; updated by _Peter Luschny_, Jul 12 2019 %t A050605 Table[IntegerExponent[(n + 1)(n + 2)/2, 2], {n, 0, 100}] (* _Jean-François Alcover_, Mar 04 2016 *) %o A050605 (PARI) a(n)=valuation(n*(n+1)/2,2) %o A050605 (Magma) [Valuation(n*(n+1)/2, 2): n in [1..120]]; // _Vincenzo Librandi_, Aug 11 2017 %Y A050605 Bisection gives column/row 1 of A050602: A007814. %Y A050605 Cf. A000217, A001511, A161737, A069834, A014550. %K A050605 nonn %O A050605 0,7 %A A050605 _Antti Karttunen_, Jun 22 1999