OFFSET
1,1
COMMENTS
Start with the sequence of natural numbers. Rearrange the sequence so that any two consecutive numbers differ by at least 3, by the following process.
Move 1 by the minimum number of steps required to the right.
Move 2 by the minimum number of steps required to the right, etc.
Move the first element which is required to be moved by the minimum number of steps in the sequence obtained by the previous step.
Initial sequence 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
after one step.. 2,3,4,1,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
after two steps. 3,4,1,5,2,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
after 3 steps... 4,1,5,2,6,3,8,9,10,7,11,12,13,14,15,16,17,18,19,...
Start with 4. Decrease by 3 then increase by 4 then decrease by 3 and then increase by 4 Decrease by 3 then increase by 7 to obtain first seven terms. Repeat the process for getting the subsequent terms.
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jan 03 2002
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Apr 03 2002
STATUS
approved