OFFSET
1,2
COMMENTS
LINKS
Clark Kimberling, Antidiagonals n = 1..60, flattened
EXAMPLE
Northwest corner:
1 ... 2 ... 3 ... 5 ... 7 ... 11 .. 13
4 ... 6 ... 10 .. 14 .. 22 .. 26 .. 34
8 ... 9 ... 15 .. 16 .. 21 .. 33 .. 39
12 .. 18 .. 20 .. 24 .. 28 .. 36 .. 44
25 .. 27 .. 35 .. 55 .. 65 .. 85 .. 95
30 .. 40 .. 42 .. 60 .. 66 .. 78 .. 90
MATHEMATICA
z = 40000; h[n_] := h[n] = n - FactorInteger[n][[-1, 1]]; t[n_] := Drop[FixedPointList[h, n], -2]; a = Table[Length[t[n]], {n, 1, z}] ; r[n_] := r[n] = Flatten[Position[a, n]]; w[n_, k_] := r[n][[k]]; TableForm[Table[w[n, k], {n, 1, 10}, {k, 1, 10}]]
u = Table[w[n - k + 1, k], {n, 14}, {k, n, 1, -1}] // Flatten
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Dec 07 2013
STATUS
approved