OFFSET
1,2
COMMENTS
Conjecture: every positive integer except 2 occurs exactly once.
MATHEMATICA
lori = Join[{{1}}, NestList[Join[#[[Riffle[Range[1, (Length[#] - 1)/2],
Range[(Length[#] + 3)/2, Length[#]]]]],
Range[#, # + 2] &[(3 Length[#] + 1)/2]] &, {2, 3, 4}, 200]];
s = Map[{#, Take[Flatten[Map[Take[#, {(Length[#] + 1)/2}] &, #]], 150] &[
ToExpression[#]]} &, {"lori"}];
Last[First[s]] (* A356379 *)
(* Peter J. C. Moses, Jul 26 2022 *)
(* The next program generates the LORI array. *)
len = 8; lori = Join[{{1}}, NestList[Join[#[[Riffle[Range[1, (Length[#] - 1)/2],
Range[(Length[#] + 3)/2, Length[#]]]]],
Range[#, # + 2] &[(3 Length[#] + 1)/2]] &, {2, 3, 4}, len]];
Grid[Map[Flatten, Transpose[{#, Range[3 Range[Length[#]] - 1,
4 (Length[#] - 2) - 1 + Range[Length[#]]]}]] &[lori]]
(* Peter J. C. Moses, Aug 02 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Oct 21 2022
STATUS
approved