OFFSET
1,2
COMMENTS
This sequence depends on the initial two values and the definition of outlier: whether to use the sample or population standard deviation and how many standard deviations above the mean.
FORMULA
a(n) = int(m(n-1) + 3s(n-1) + 1), where m(n-1) is the arithmetic mean of the first n-1 terms and s(n-1) is the sample standard deviation of the first n-1 terms
EXAMPLE
a(5) = 12 because the mean of the first 4 terms is 3.5 and the sample standard deviation is 2.65, so the lower limit to any outlier is 11.45 and the next higher integer is 12.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kerry Mitchell, Jan 26 2005
STATUS
approved