geomser
geomser(
@start ## required
@end ## required
@factor ## required
@maxcount 0
) -> llll/null
Returns a geomethric series, understood as a list where the ratio between adjacent elements is constant. If one of the arguments is set to null, its value is automatically inferred from the other arguments.
Arguments
@start[llll/null] (required)@end[llll/null] (required)@factor[llll/null] (required)@maxcount[llll] (default:0)
Output
Geometric series [llll/null]
warning
geomser is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, geomser will return null without raising an error if required arguments are not provided.
Usage
geomser(1, null, 2, 5) ## Returns 1 2 4 8 16