interger array to s ruby code example Example: * 16**index position in ruby Array.new(3){ |index| index ** 2 } # => [0, 1, 4]