(razao as number, limite as number, inicio as number, optional tipo as text) =>
let
progressao =
if tipo = "g" then List.Generate( ()=> inicio, each Number.Abs(_) < limite, each _*razao)
else List.Generate( ()=> inicio, each Number.Abs(_) < limite, each _ + razao)
in
progressao