OFFSET
1,2
COMMENTS
This sequence is dependent upon the initial two terms and how quartiles are defined (e.g., do you include the median) and how many interquartile ranges above the third quartile to go.
LINKS
Eric Weisstein's World of Mathematics, Outlier
FORMULA
a(n) = int(q3(n-1) + 1.5*iqr(n-1) + 1), where q3(n-1) is the third quartile of the first n-1 terms and iqr(n-1) is the interquartile range of the first n-1 terms.
EXAMPLE
a(8) = 18 because the third quartile of the first 7 terms is 8.5 and the interquartile range of the first 7 terms is 6, so the lower limit for outliers is 17.5 and the next higher integer is 18.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kerry Mitchell, Jan 26 2005
STATUS
approved
