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 [ 2.0 log * exp "%d " printf ] each
Success #stdin #stdout 1.31s 165056KB
stdin
30
stdout
Hello, World
1 2 4 7 15 32 63 127 255 511 1024 2048 4095 8191 16383 32767 65535 131071 262143 524287 1048576 2097152 4194304 8388608 16777215 33554432 67108863 134217728 268435455 536870912 1073741823