0, 1, 2, 6, 14, 30, 62, 126, 254, 510, 1022, 2046, 4094, 8190, 16382, 32766, 65534, 131070, 262142, 524286, 1048574, 2097150, 4194302, 8388606, 16777214, 33554430, 67108862, 134217726, 268435454, 536870910, 1073741822, 2147483646, 4294967294, 8589934590, 17179869182
Offset: 0
A296964
Expansion of e.g.f. (exp(x)-x)*x/(1-x).
Original entry on oeis.org
0, 1, 2, 9, 40, 205, 1236, 8659, 69280, 623529, 6235300, 68588311, 823059744, 10699776685, 149796873604, 2246953104075, 35951249665216, 611171244308689, 11001082397556420, 209020565553571999, 4180411311071440000, 87788637532500240021, 1931350025715005280484, 44421050591445121451155
Offset: 0
-
Join[{0,1},Drop[With[{nn=30},CoefficientList[Series[(Exp[x]-x)*x/(1-x),{x,0,nn}],x] Range[0,nn]!],2]] (* Harvey P. Dale, Apr 02 2018 *)
-
x = QQ[['x']].gen()
f = (exp(x) - x) * x / (1 - x)
f.egf_to_ogf() # F. Chapoton, Jul 21 2025
A296954
Expansion of x*(1 - x + 4*x^2) / ((1 - x)*(1 - 2*x)).
Original entry on oeis.org
0, 1, 2, 8, 20, 44, 92, 188, 380, 764, 1532, 3068, 6140, 12284, 24572, 49148, 98300, 196604, 393212, 786428, 1572860, 3145724, 6291452, 12582908, 25165820, 50331644, 100663292, 201326588, 402653180, 805306364, 1610612732, 3221225468, 6442450940, 12884901884
Offset: 0
-
CoefficientList[Series[x (1 - x + 4 x^2)/((1 - x) (1 - 2 x)), {x, 0, 33}], x] (* Michael De Vlieger, Dec 23 2017 *)
LinearRecurrence[{3,-2},{0,1,2,8},40] (* Harvey P. Dale, Jun 05 2021 *)
-
concat(0, Vec(x*(1 - x + 4*x^2) / ((1 - x)*(1 - 2*x)) + O(x^40))) \\ Colin Barker, Dec 22 2017
G.f. in the name replaced by a better g.f. by
Colin Barker, Dec 23 2017
A296953
Number of bisymmetric, quasitrivial, and order-preserving binary operations on the n-element set {1,...,n}.
Original entry on oeis.org
0, 1, 4, 10, 22, 46, 94, 190, 382, 766, 1534, 3070, 6142, 12286, 24574, 49150, 98302, 196606, 393214, 786430, 1572862, 3145726, 6291454, 12582910, 25165822, 50331646, 100663294, 201326590, 402653182, 805306366, 1610612734, 3221225470, 6442450942, 12884901886
Offset: 0
-
Nest[Append[#, 2 Last@ # + 2] &, {0, 1}, 32] (* or *)
Array[3*2^(# - 1) - 2 + Boole[# == 0]/2 &, 34, 0] (* or *)
CoefficientList[Series[x (1 + x)/((1 - x) (1 - 2 x)), {x, 0, 33}], x] (* Michael De Vlieger, Dec 22 2017 *)
-
concat(0, Vec(x*(1 + x) / ((1 - x)*(1 - 2*x)) + O(x^40))) \\ Colin Barker, Dec 22 2017
Comments