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”).

A340817
a(n) is the least prime of the form prime(n)*p + prime(n+1)*q + prime(n+2)*r where p,q,r are consecutive primes.
2
83, 127, 167, 2749, 257, 307, 1427, 431, 769, 1811, 617, 4261, 2843, 2633, 881, 1459, 2087, 5023, 6199, 1831, 3461, 1373, 1459, 8353, 1567, 1607, 1657, 8353, 8867, 4111, 4231, 11801, 20983, 3529, 4903, 34283, 5227, 5399, 7307, 13103, 18311, 2917, 2957, 6311, 15101, 5113, 3407, 3457, 19433, 3581, 23689
OFFSET
2,1
LINKS
FORMULA
a(n) = prime(n)*A340821(n) + prime(n+1)*A151800(A340821(n)) + prime(n+2)*A151800(A151800(A340821(n))).
EXAMPLE
a(3) = 5*3 + 7*5 + 11*7 = 167.
MAPLE
f:= proc(n) local k, t;
for k from 1 do
t:=ithprime(n)*ithprime(k) + ithprime(n+1)*ithprime(k+1) + ithprime(n+2)*ithprime(k+2);
if isprime(t) then return t fi;
od
end proc:
map(f, [$2..30]);
CROSSREFS
Sequence in context: A288880 A126117 A096279 * A261087 A140771 A142309
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 22 2021
STATUS
approved