login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A044859 Positive integers having the same number of base-3 runs of odd length as even. 1
9, 12, 14, 17, 18, 22, 24, 25, 81, 108, 117, 120, 122, 125, 134, 161, 162, 202, 216, 229, 234, 238, 240, 241, 252, 255, 257, 260, 261, 265, 267, 268, 279, 287, 315, 319, 327, 329, 330, 331, 333, 336, 338, 341, 342, 346, 348, 349 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local L;
L:= [-1, op(convert(n, base, 3)), -1];
L:= L[1..-2]-L[2..-1];
L:= select(t -> L[t]<>0, [$1..nops(L)]);
L:= L[2..-1]-L[1..-2];
convert(L mod 2, `+`)*2 = nops(L)
end proc:
select(f, [$1..1000]); # Robert Israel, Jun 11 2019
CROSSREFS
Sequence in context: A351042 A259313 A170951 * A336754 A336756 A114306
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 26 07:07 EDT 2024. Contains 371990 sequences. (Running on oeis4.)