login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A343532
Primes in A343531.
1
2, 7, 31, 83, 307, 503, 919, 1483, 5059, 9439, 10139, 13159, 15647, 17431, 21491, 23671, 30911, 33599, 47459, 49199, 52627, 58199, 62327, 79379, 81551, 90971, 98443, 109171, 114643, 123439, 162007, 168863, 172331, 175811, 278767, 298303, 303011, 322951, 376399, 387631, 393007, 571531, 592531
OFFSET
1,1
LINKS
EXAMPLE
a(3) = 31 = A343531(4) and is prime, so it is in the sequence.
MAPLE
P:= [seq(ithprime(i), i=1..1001)]:
G:= P[2..-1]-P[1..-2]:
A:= [seq(add(P[i]*G[n+1-i], i=1..n), n=1..1000)]:
select(isprime, A);
MATHEMATICA
Select[Table[Sum[(Prime[i+1]-Prime[i])Prime[n+1-i], {i, n}], {n, 300}], PrimeQ] (* Harvey P. Dale, Feb 13 2023 *)
CROSSREFS
Cf. A343531.
Sequence in context: A213721 A102162 A059846 * A034698 A115605 A289719
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 18 2021
STATUS
approved