Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A357176 a(n) is the least prime that is the n-th elementary symmetric function of the first k primes for some k. 1
2, 31, 2101534937, 2927, 40361, 39075401846390482295581, 226026998201956974105518542793548663, 617651235401, 4325269278391458399931853204730438563, 12894795842691356733422939, 745410787149030809096434692201049325037186561467959704761393689387 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is the first prime p such that (-1)^n*p is in the n-th column of A238146.
LINKS
EXAMPLE
a(4) = 2927 = 2*3*5*7 + 2*3*5*11 + 2*3*7*11 + 2*5*7*11 + 3*5*7*11 is the 4th symmetric function of the first 5 primes (2,3,5,7,11) and is prime.
MAPLE
N:= 20: V:= Vector(N):
S:= Vector(N): p:= 2: S[1]:= 2: V[1]:= 2: count:= 1:
while count < N do
p:= nextprime(p);
for k from N to 2 by -1 do
S[k]:= S[k] + p*S[k-1];
if V[k] = 0 and isprime(S[k]) then V[k]:= S[k]; count:= count+1; fi;
od;
S[1]:= S[1]+p;
od:
convert(V, list);
CROSSREFS
Cf. A238146.
Sequence in context: A113030 A247873 A281901 * A018802 A166487 A004842
KEYWORD
nonn
AUTHOR
Robert Israel, Sep 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 9 14:16 EDT 2024. Contains 375764 sequences. (Running on oeis4.)