OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2000
FORMULA
a(n) = 17*A043320(n) (= 17n for n<16, cf Example). - M. F. Hasler, Feb 02 2014
EXAMPLE
In base 16, a(1)=17 is written 11; the subsequent 14 values are the multiples of 17, corresponding to 22, 33, 44, ..., FF.
This is followed by a(16) = 4352 = 1100[16], then (still in base 16): 1122, 1133,..., 11FF, 2200, 2211, 2233, etc...
MATHEMATICA
Select[Range[9000], Union[Length/@Split[IntegerDigits[#, 16]]]=={2}&] (* Harvey P. Dale, Jan 19 2013 *)
PROG
(Python)
from itertools import count, islice, groupby
def A033014_gen(startvalue=1): # generator of terms >= startvalue
return filter(lambda n:set(len(list(g)) for k, g in groupby(hex(n)[2:]))=={2}, count(max(startvalue, 1)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved