OFFSET
1,1
FORMULA
{n : A005811(n) == 4 (mod 9)}. - R. J. Mathar, Feb 16 2013
MAPLE
A043758 := proc(n)
option remember;
if n = 1 then
10;
else
for a from procname(n-1)+1 do
if modp(A005811(a), 9) = 4 then
return a;
end if;
end do:
end if;
end proc: # R. J. Mathar, Feb 16 2013
MATHEMATICA
Select[Range[200], Mod[Length[Split[IntegerDigits[#, 2]]], 9]==4&] (* Harvey P. Dale, Jul 21 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved