login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Robert Israel, Table of n, a(n) for n = 1..10000

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: A032687 A259313 A170951 * A114306 A009188 A138299

Adjacent sequences:  A044856 A044857 A044858 * A044860 A044861 A044862

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 05:38 EDT 2020. Contains 333073 sequences. (Running on oeis4.)