OFFSET
1,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..12682
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
KEYWORD
nonn,base
AUTHOR
Robin Powell, Jan 27 2016
STATUS
approved