login
A044836
Positive integers having more base-10 runs of even length than odd.
4
11, 22, 33, 44, 55, 66, 77, 88, 99, 1100, 1111, 1122, 1133, 1144, 1155, 1166, 1177, 1188, 1199, 2200, 2211, 2222, 2233, 2244, 2255, 2266, 2277, 2288, 2299, 3300, 3311, 3322, 3333, 3344, 3355, 3366, 3377, 3388, 3399, 4400
OFFSET
1,1
LINKS
PROG
(PARI) is(n, base=10) = { my (v=0); while (n, my (d=n%base, w=0); while (n%base==d, n\=base; w++); v+=(-1)^w); v>0 } \\ Rémy Sigrist, Nov 07 2020
CROSSREFS
Number of even/odd runs: A044941, A044950. Cf. A044851 (no fewer), A044866 (same number).
Cf. A044828 (binary analog), A338754.
Sequence in context: A052191 A321536 A110732 * A338754 A033008 A082275
KEYWORD
nonn,base
EXTENSIONS
Incorrect formula removed by Rémy Sigrist, Nov 07 2020
STATUS
approved