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 A131568 #19 Aug 22 2022 14:31:44 %S A131568 0,3,45,630,8925,128898,1891890,28113228,421717725,6372696330, %T A131568 96865261350,1479397776948,22684103302770,348986220258900, %U A131568 5384358887026500,83278084352019480,1290810308357922525,20045524792117559130,311819274557663622750,4857816066846093281700 %N A131568 a(n) = sum of numbers which in base 2 contain exactly n digits 1 and not more than n digits 0. %H A131568 Michael De Vlieger, <a href="/A131568/b131568.txt">Table of n, a(n) for n = 0..832</a> %F A131568 a(n) = (2*n)!*(2^(2*n)-1)/(2*n!*n!). [Corrected by _Michel Marcus_, Aug 22 2022] %F A131568 From _Peter Luschny_, Aug 22 2022: (Start) %F A131568 a(n) = (4^n - 1)*binomial(2*n, n) / 2. %F A131568 a(n) = [x^n] ((1 - 16*x)^(-1/2) - (1 - 4*x)^(-1/2)) / 2. (End) %e A131568 For n=2, we have these integers in base 2: 11, 101, 110, 1001, 1010, and 1100; so a(2) = 3+5+6+9+10+12 = 45. %t A131568 Array[(4^# - 1)*Binomial[2 #, #]/2 &, 20, 0] (* _Michael De Vlieger_, Aug 22 2022 *) %K A131568 nonn,base,easy %O A131568 0,2 %A A131568 Philippe LALLOUET (philip.lallouet(AT)wanadoo.fr), Aug 27 2007 %E A131568 More terms from _Peter Luschny_, Aug 22 2022