[go: up one dir, main page]

login
A043782
Numbers n such that number of runs in base 3 representation of n is congruent to 2 mod 5.
0
3, 5, 6, 7, 9, 12, 14, 17, 18, 22, 24, 25, 27, 36, 39, 41, 44, 53, 54, 67, 72, 76, 78, 79, 81, 108, 117, 120, 122, 125, 134, 161, 162, 202, 216, 229, 234, 238, 240, 241, 243, 324, 351, 360, 363, 365, 368, 377, 404, 485, 486, 607, 648
OFFSET
1,1
MATHEMATICA
Select[Range[1000], Mod[Length[Split[IntegerDigits[#, 3]]], 5]==2&] (* Harvey P. Dale, Mar 20 2020 *)
CROSSREFS
Sequence in context: A043775 A043778 A043582 * A043787 A043793 A043800
KEYWORD
nonn,base
STATUS
approved