The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A266001 Numbers with no 0's in their base 3 and base 4 expansions. 1
1, 2, 5, 7, 13, 14, 22, 23, 25, 26, 41, 43, 53, 121, 122, 125, 149, 151, 157, 158, 214, 215, 229, 230, 233, 238, 239, 365, 367, 373, 374, 377, 445, 446, 473, 475, 485, 607, 617, 619, 634, 635, 637, 638, 697, 698, 701, 725, 727, 1366, 1367, 1373, 1375, 1429, 1430, 1445, 1447, 1453, 1454 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Intersection of A023705 and A032924.
1, 7 and 32767 also share this property in base 2.
LINKS
EXAMPLE
53 is 1222 in base 3 and 311 in base 4; no zeros are shown in either representation and so 53 is a term.
Similarly, 121 is 11111 in base 3 and 1321 in base 4 so it is also a term.
PROG
(PARI) isokd(n) = vecmin(digits(n, 3)) && vecmin(digits(n, 4)); \\ Michel Marcus, Jan 28 2016
(Python)
from __future__ import division
from gmpy2 import digits
A266001_list = [j for j in (int(format(i, 'b'), 3)+(3**n-1)//2 for n in range(1, 10) for i in range(2**n)) if '0' not in digits(j, 4)] # Chai Wah Wu, Feb 13 2016
CROSSREFS
Sequence in context: A094285 A121218 A371239 * A062879 A272193 A186131
KEYWORD
nonn,base
AUTHOR
Robin Powell, Jan 27 2016
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 May 25 10:45 EDT 2024. Contains 372788 sequences. (Running on oeis4.)