cp's OEIS Frontend

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.

A357252 Primes in A357251.

This page as a plain text file.
%I A357252 #8 Oct 02 2022 19:54:13
%S A357252 19,14479,43609,406171,711959,1330177,2698231,3918157,18987169,
%T A357252 26135339,194727347,269998639,975929347,5005853669,8430389621,
%U A357252 24830247671,36372313009,69703708967,93194681917,126628534313,139478926201,304123612349,359101509211,384305009171,387550106843,400722388999
%N A357252 Primes in A357251.
%C A357252 Primes that are, for some N, the sum of p*q for all pairs of primes (p,q) with p <= q <= N.
%H A357252 Robert Israel, <a href="/A357252/b357252.txt">Table of n, a(n) for n = 1..10000</a>
%e A357252 a(2) = 14479 is in the sequence because 14479 = A357251(11) is the sum of p*q for primes p <= q <= 31 and is prime.
%p A357252 p:= 2: a:= 4: s:= 2: R:= NULL: count:= 0:
%p A357252 for i from 1 while count < 100 do
%p A357252   p:= nextprime(p);
%p A357252   s:= s + p;
%p A357252   a:= a + p*s;
%p A357252   if isprime(a) then count:= count+1; R:= R,a; fi
%p A357252 od:
%p A357252 R;
%Y A357252 Cf. A357251.
%K A357252 nonn
%O A357252 1,1
%A A357252 _J. M. Bergot_ and _Robert Israel_, Sep 20 2022