login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A043098 Numbers n such that 0 and 2 occur juxtaposed in the base 3 representation of n but not of n-1. 0
6, 11, 15, 18, 24, 29, 33, 38, 42, 45, 51, 54, 65, 69, 72, 78, 83, 87, 92, 96, 99, 110, 114, 119, 123, 126, 132, 135, 146, 150, 153, 159, 162, 191, 195, 200, 204, 207, 213, 216, 227, 231, 234, 240, 245, 249, 254, 258, 261, 272, 276 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..51.

MATHEMATICA

SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {0, 2}]>0 || SequenceCount[ IntegerDigits[n, 3], {2, 0}]>0, 1, 0], {n, 300}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 10 2019 *)

CROSSREFS

Sequence in context: A315392 A315393 A315394 * A039276 A044995 A135708

Adjacent sequences:  A043095 A043096 A043097 * A043099 A043100 A043101

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 October 23 14:54 EDT 2019. Contains 328345 sequences. (Running on oeis4.)