OFFSET
0,2
COMMENTS
A smoothing applied to the primes as a data set. The method is a hybrid of exponential smoothing and simple moving average (see Wikipedia link). - Peter Munn, Mar 26 2019
LINKS
Wikipedia, Smoothing
EXAMPLE
a(1) = floor((3+2+1)/3) = 2;
a(2) = floor((5+3+2)/3) = 3.
PROG
(PARI) lista(nn) = {my(a = 1); print1(a, ", "); for (n=1, nn, a = (prime(n+1) + prime(n) + a)\3; print1(a, ", "); ); } \\ Michel Marcus, Mar 20 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jul 20 2002
EXTENSIONS
Edited by Dean Hickerson, Oct 29 2002
STATUS
approved