login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045989 a(n) = A045954(n)/2. 1

%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_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)