OFFSET
1,2
LINKS
Micah Spencer Coleman, Asymptotic Enumeration in Pattern Avoidance and in the Theory of Set Partitions and Asymptotic Uniformity, Dissertation, 2018.
MATHEMATICA
f[n_] := Block[{k, l}, If[ OddQ@ n, k = 2; l = {1}, k = 1; l = {}]; FromDigits@ Flatten@ Join[ Table[{IntegerDigits[ Floor[n/2] - j + k], IntegerDigits[n - Floor[n/2] + j]}, {j, Floor[n/2]}], l]]; Array[f, 16] (* Robert G. Wilson v, Sep 25 2010 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Sep 18 2010
EXTENSIONS
a(7) onwards from Robert G. Wilson v, Sep 25 2010
STATUS
approved