login
A043737
Numbers whose number of runs in the base-2 representation is congruent to 4 mod 6.
1
10, 18, 20, 22, 26, 34, 36, 38, 40, 44, 46, 50, 52, 54, 58, 66, 68, 70, 72, 76, 78, 80, 88, 92, 94, 98, 100, 102, 104, 108, 110, 114, 116, 118, 122, 130, 132, 134, 136, 140, 142, 144, 152, 156, 158, 160, 176, 184, 188, 190, 194, 196
OFFSET
1,1
COMMENTS
The following numbers are in this sequence but not in A043758: 682, 1194, 1322, 1354, 1362, 1364, 1366, 1370, 1386, 1450, 1706, 2218, 2346, ...
The following numbers are in A043758 but not in this sequence: 5461, 9557, 10581, 10837, 10901, 10917, ... - R. J. Mathar, Feb 16 2013
MAPLE
A043737 := proc(n)
option remember;
if n = 1 then
10;
else
for a from procname(n-1)+1 do
if modp(A005811(a), 6) = 4 then
return a;
end if;
end do:
end if;
end proc: # R. J. Mathar, Feb 16 2013
CROSSREFS
Cf. A005811.
Sequence in context: A043724 A043571 A043732 * A043743 A043750 A043758
KEYWORD
nonn,base
STATUS
approved