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 A366270 #22 Oct 08 2023 09:06:07 %S A366270 0,5,93448,39545957,240439822,1894541497,132563927578 %N A366270 Nonnegative integers k such that the sum of the first k primes is a hexagonal number. %H A366270 Wikipedia, <a href="https://en.wikipedia.org/wiki/Hexagonal_number">Hexagonal number</a>. %H A366270 <a href="/index/Pol#polygonal_numbers">Index to sequences related to polygonal numbers</a> %e A366270 5 is a term because the sum of the first five primes (2 + 3 + 5 + 7 + 11 = 28) is a hexagonal number. %t A366270 A366270list[kmax_]:=Module[{p=0},Join[{0},Table[If[IntegerQ[(Sqrt[8(p+=Prime[k])+1]+1)/4],k,Nothing],{k,kmax}]]];A366270list[10^5] %Y A366270 Subsequence of A175133. %Y A366270 Cf. A000384, A007504, A033997, A364695, A364696, A366269 (corresponding hexagonal numbers). %K A366270 nonn,hard,more %O A366270 1,2 %A A366270 _Paolo Xausa_, Oct 06 2023