fork download
  1. USING: kernel sequences locals io formatting strings math math.functions math.parser ;
  2. IN: main
  3. "Hello, World" print
  4. readln string>number 1 +
  5. iota [ exp "%d " printf ] each
Success #stdin #stdout 1.3s 165056KB
stdin
30
stdout
Hello, World
1 2 7 20 54 148 403 1096 2980 8103 22026 59874 162754 442413 1202604 3269017 8886110 24154952 65659969 178482300 485165195 1318815734 3584912846 9744803446 26489122129 72004899337 195729609428 532048240601 1446257064291 3931334297144 10686474581524