This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A022835 #13 Aug 31 2019 11:28:42 %S A022835 5,12,1,14,31,12,35,6,37,0,41,84,37,90,31,92,25,96,23,102,19,108,11, %T A022835 112,9,116,7,120,247,116,253,114,263,112,269,106,273,100,279,98,289, %U A022835 96,293,94,305,82,309,80,313,74,315,64,321,58,327,56,333,52,335,42 %N A022835 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 A022835 Essentially identical to A022837. See that entry for more details. - _N. J. A. Sloane_, Aug 31 2019 %K A022835 nonn %O A022835 0,1 %A A022835 _Clark Kimberling_ %E A022835 Name corrected by _Sean A. Irvine_, May 22 2019