Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #14 Mar 20 2024 03:14:23
%S 1,2,3,5,6,9,10,11,13,17,18,21,22,25,26,27,29,34,35,38,42,45,49,50,51,
%T 54,57,58,59,65,66,69,70,74,75,82,85,86,89,91,93,98,99,106,107,109,
%U 114,115,117,122,123,130,131,134,139,141,145,149
%N a(n) = A045954(n)/2.
%H Amiram Eldar, <a href="/A045989/b045989.txt">Table of n, a(n) for n = 1..10000</a>
%t seq[max_] := Module[{lst = Range[2, max, 2], i = 2, len}, While[i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++]; lst/2]; seq[300] (* _Amiram Eldar_, Mar 20 2024, after _Robert G. Wilson v_ at A045954 *)
%Y Cf. A045954.
%K nonn
%O 1,2
%A _N. J. A. Sloane_