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 A362267 #23 Jul 06 2023 22:05:14 %S A362267 1,1,0,0,15,0,1,0,1,12,13,0,3,0,1,4,29,1,1,0,1,2,25,0,1,4,7,8,13,0,1, %T A362267 0,7,6,1,2,1,0,1,4,21,0,7,0,5,10,19,0,1,6,1,2,85,0,1,4,17,6,5,0,11,0, %U A362267 15,4,1,20,3,0,1,14,3,0,3,0,5,22,17,2,1,0,1,6,11,0 %N A362267 For n >= 0, a(n) is the least integer i >= 0 such that n + p_1 + ... + p_i = q, q prime number, or a(n) = -1 if no such i exists. Here p_1 is the least prime >= n, p_1 < p_2 < ... < p_i are prime numbers (A000040). %F A362267 a(p) = 0 for p prime number. %e A362267 n = 4: p_1 >= 4 is 5, a(4) = 4 + p_1 + ... + p_i = 4 + 5 + 7 + 11 + 13 + 17 + 19 + 23 + 29 + 31 + 37 + 41 + 43 + 47 + 53 + 59 = 439 which is a prime number, thus a(4) = 15. %Y A362267 Cf. A000040, A007504, A161463. %K A362267 sign %O A362267 0,5 %A A362267 _Ctibor O. Zizka_, Jul 05 2023