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!)
A044435 Numbers k such that string 0,2 occurs in the base-3 representation of k but not of k+1. 1
11, 20, 29, 35, 38, 47, 56, 62, 65, 74, 83, 89, 92, 107, 110, 116, 119, 128, 137, 143, 146, 155, 164, 170, 173, 188, 191, 197, 200, 209, 218, 224, 227, 236, 245, 251, 254, 269, 272, 278, 281, 290, 323, 326, 332, 335, 350, 353, 359, 362, 371, 380, 386, 389, 398 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Python)
from sympy.ntheory import digits
def cond(n): return "02" in "".join(map(str, digits(n, 3)))
def ok(n): return cond(n) and not cond(n+1)
print([k for k in range(400) if ok(k)]) # Michael S. Branicky, Nov 20 2021
CROSSREFS
Sequence in context: A339307 A038581 A044054 * A302563 A011753 A120442
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 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)