Generate an arithmetic or geometric sequence, with optional prefix/suffix and decimal places. Computed locally.