login
A043807
Numbers n such that number of runs in the base 3 representation of n is congruent to 1 mod 9.
0
1, 2, 4, 8, 13, 26, 40, 80, 121, 242, 364, 728, 1093, 2186, 3280, 6560, 9841, 19682, 22143, 22145, 22146, 22147, 22159, 22160, 22161, 22163, 22170, 22172, 22173, 22174, 22177, 22178, 22182, 22183, 22285, 22286, 22290
OFFSET
1,2
MATHEMATICA
Select[Range[25000], Mod[Length[Split[IntegerDigits[#, 3]]], 9]==1&] (* Harvey P. Dale, Nov 24 2015 *)
CROSSREFS
Sequence in context: A043786 A043792 A043799 * A043816 A048328 A094767
KEYWORD
nonn,base
STATUS
approved