%I #13 Aug 31 2019 11:28:42
%S 5,12,1,14,31,12,35,6,37,0,41,84,37,90,31,92,25,96,23,102,19,108,11,
%T 112,9,116,7,120,247,116,253,114,263,112,269,106,273,100,279,98,289,
%U 96,293,94,305,82,309,80,313,74,315,64,321,58,327,56,333,52,335,42
%N a(n) = c(1)p(3) + ... + c(n)p(n+2), where c(i) = 1 if a(i-1) < p(i+2) and c(i) = -1 if a(i-1) >= p(i+2) (p(i) = primes).
%Y Essentially identical to A022837. See that entry for more details. - _N. J. A. Sloane_, Aug 31 2019
%K nonn
%O 0,1
%A _Clark Kimberling_
%E Name corrected by _Sean A. Irvine_, May 22 2019