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 A179321 #16 Aug 29 2023 08:57:25 %S A179321 1,30,74,94,792,852,1037,1178,1395,1557,2468,3602,3725,5064,5361,5514, %T A179321 6461,8979,9765,11005,16503,19798,20090,21254,22475,24686,30480,30822, %U A179321 37614,44243,44668,45528,49999,50924,53241,61613,64721,65236 %N A179321 Numbers m such that the sum of the first k odd primes = m-th odd prime. %H A179321 Robert Israel, <a href="/A179321/b179321.txt">Table of n, a(n) for n = 1..1600</a> %F A179321 A007504(k) - 2 = A000040(a(n)+1). %F A179321 A000040(a(n)+1) = A071151(n). %e A179321 30 is a term because A007504(6) - 2 = 127 = A000040(31). %p A179321 A:= NULL: p:= 2: s:= 0: q:= 2: count:= 0: i:= 0: %p A179321 while count < 100 do %p A179321 if s = q then count:= count+1; A:= A,i; fi; %p A179321 if s <= q then p:= nextprime(p); s:= s+p %p A179321 else q:= nextprime(q); i:= i+1 %p A179321 fi; %p A179321 od: %p A179321 A; # _Robert Israel_, Aug 28 2023 %Y A179321 Cf. A000040, A007504, A071151. %K A179321 nonn %O A179321 1,2 %A A179321 _Juri-Stepan Gerasimov_, Jan 06 2011