Different approach by analyzing the sequence

   +/\1,,1,.+/\2,3*2^i.4
1 2 4 5 10 11 22 23 46 47 94

Or shorter:

   ,(,.>:)+/\1,3*2^i.3
1 2 4 5 10 11 22 23


--
Met vriendelijke groet,
@@i = Arie Groeneveld

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to