OFFSET
0,4
FORMULA
MAPLE
f := (c, n)->seq(c, i=1..3*2^n); [f(1, 0), f(2, 0), f(1, 1), f(2, 1), f(1, 2), f(2, 2), f(1, 3), f(2, 3)]; f;
MATHEMATICA
Flatten[Table[{PadRight[{}, 3*2^n, 1], PadRight[{}, 3*2^n, 2]}, {n, 0, 4}]] (* Harvey P. Dale, May 04 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 23 2003
STATUS
approved