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!)
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
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: A060914 A242917 A370921 * A287369 A342743 A368407
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)