login
Numbers not in range of A277022.
4

%I #7 Sep 26 2016 21:45:02

%S 3,7,11,14,15,19,23,27,29,30,31,35,39,43,46,47,51,55,59,61,62,63,67,

%T 71,75,78,79,83,87,91,93,94,95,99,103,107,110,111,115,119,123,124,125,

%U 126,127,131,135,139,142,143,147,151,155,157,158,159,163,167,171,174,175,179,183,187,189,190,191,195,199,203,206,207,211,215

%N Numbers not in range of A277022.

%C Numbers such that at least one run of 1-bits in their binary expansion has length >= A000040(1 + the total number of 0-bits anywhere right of that run).

%C Numbers n for which A277017(n) > 0.

%C Numbers n for which A129251(A005940(1+n)) > 0.

%H Antti Karttunen, <a href="/A277019/b277019.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

%e 3 ("11" in binary, A007088) is present as the length of that only run of 1's is 2, and 2 >= prime(1+0), where 0 is the total number of 0's to the right of that run.

%e 60 ("111100" in binary) is NOT present as 4 < 5 = prime(2+1).

%o (Scheme, with _Antti Karttunen_'s IntSeq-library)

%o (define A277019 (NONZERO-POS 1 0 A277017))

%Y Complement: A277018.

%Y Positions of nonzeros in A277017.

%Y Cf. A000040, A005940, A129251.

%Y Subsequence of A277009 from which this differs for the first time at n=20, where a(20)=61, skipping the value 60 present in A277009.

%K nonn,base

%O 1,1

%A _Antti Karttunen_, Sep 26 2016