The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A345707 Primes prime(k) at which A345706(k) attains a record value. 0
2, 5, 11, 13, 19, 41, 47, 67, 89, 149, 211, 331, 433, 677, 859, 1301 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The corresponding records values are 1, 2, 3, 6, 12, 20, 24, 58, 322, 414, 483, 527, 1065, 2597, 3181, 6022, ...
LINKS
EXAMPLE
The first 6 terms of A345706 are 1, 1, 2, 2, 3 and 6. The record values, 1, 2, 3 and 6, occur at k = 1, 3, 5 and 6. The corresponding primes are prime(k) = 2, 5, 11 and 13, the first 4 terms of this sequence.
MATHEMATICA
f[n_] := Module[{r = Product[Prime[j], {j, 1, n - 1}], p = Prime[n], k}, k = Max[1, Ceiling@Log[p, r]]; While[! PrimeQ[r*p^k + 1], k++]; k]; fm = 0; s = {}; Do[f1 = f[k]; If[f1 > fm, fm = f1; AppendTo[s, Prime[ k]]], {k, 1, 50}]; s
CROSSREFS
Sequence in context: A045361 A276660 A086081 * A113305 A095078 A335874
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Jun 24 2021
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 May 25 05:47 EDT 2024. Contains 372782 sequences. (Running on oeis4.)