powered by
this function checks if the input is a positive integer scalar (integer-like value -- i.e., both 1L and 1.0 pass this check)
is_positive_integer(x, n)
is the input
is the number of inputs