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!)
A044059 Numbers n such that string 2,1 occurs in the base 3 representation of n but not of n-1. 0
7, 16, 21, 25, 34, 43, 48, 52, 61, 63, 75, 79, 88, 97, 102, 106, 115, 124, 129, 133, 142, 144, 156, 160, 169, 178, 183, 187, 189, 223, 225, 237, 241, 250, 259, 264, 268, 277, 286, 291, 295, 304, 306, 318, 322, 331, 340, 345, 349 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {2, 1}]>0, 1, 0], {n, 400}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Feb 08 2016 *)

CROSSREFS

Sequence in context: A335569 A060914 A242917 * A287369 A342743 A044440

Adjacent sequences:  A044056 A044057 A044058 * A044060 A044061 A044062

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 September 20 10:51 EDT 2021. Contains 347584 sequences. (Running on oeis4.)