SELECT n, format('{:b}', n) FROM (select unnest(range(0, 6) || [50, 9000]) as n);