// output of ./demo/seq/A007608-demo.cc: // Description: //% OEIS sequence A007608: //% Numbers in base -4. //% Also A212526: negative numbers in base -4. arg 1: 44 == n [Convert numbers 0,1,2,...,n] default=44 arg 2: 0 == nq [Whether to convert numbers 0,-1,-2,...,-n] default=0 0 0 1 1 2 2 3 3 4 130 5 131 6 132 7 133 8 120 9 121 10 122 11 123 12 110 13 111 14 112 15 113 16 100 17 101 18 102 19 103 20 230 21 231 22 232 23 233 24 220 25 221 26 222 27 223 28 210 29 211 30 212 31 213 32 200 33 201 34 202 35 203 36 330 37 331 38 332 39 333 40 320 41 321 42 322 43 323 44 310