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 A128806 #21 Jul 31 2025 10:56:51 %S A128806 1,6,14,28,42,64,88,120,146,184,224,272,316,372,428,496,546,616,688, %T A128806 768,844,932,1020,1120,1204,1308,1412,1528,1632,1756,1876,2016,2114, %U A128806 2248,2384,2528,2668,2820,2972,3136,3284,3452,3620,3800,3968,4156,4340 %N A128806 a(n) = A001316(n) + A046092(n). %H A128806 Paolo Xausa, <a href="/A128806/b128806.txt">Table of n, a(n) for n = 0..10000</a> %t A128806 Table[Sum[Mod[Binomial[n,k],2],{k,0,n}]+2n(n+1),{n,0,46}] (* _James C. McMahon_, Jan 11 2025 *) %t A128806 A128806[n_] := 2^DigitSum[n, 2] + 2*n*(n+1); Array[A128806, 100, 0] (* _Paolo Xausa_, Jul 31 2025 *) %o A128806 (Python) %o A128806 def A128806(n): return (1<<n.bit_count())+(n*(n+1)<<1) # _Chai Wah Wu_, Jul 29 2025 %Y A128806 Cf. A001316, A046092. %K A128806 nonn %O A128806 0,2 %A A128806 _Philippe Deléham_, Apr 08 2007 %E A128806 a(32)-a(34) corrected by _Georg Fischer_, Jul 01 2020