Repunits In Haskell I would use iterate like:
~> take 4 $ iterate (succ.(10*)) 1 [1,11,111,1111] Translated to J this could be: >:@*~&10x^:(<`1:) 4 1 11 111 1111 -- Met vriendelijke groet, @@i=Arie Groeneveld ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
