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!)
A094464 Least initial value for a Euclid/Mullin sequence whose 3rd term (= least prime divisor of 1+2p) equals the n-th prime. prime(1)=2 is never a third term, so offset=2. 1
7, 17, 2, 5, 149, 263, 389, 11, 449, 821, 1091, 881, 1913, 23, 2729, 29, 2531, 6599, 2591, 6971, 3989, 41, 4583, 5189, 7019, 7673, 53, 13679, 7853, 8699, 12641, 9521, 13691, 12143, 19403, 13109, 22901, 83, 18251, 89, 20543, 32183, 23063, 26693 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
These primes are congruent to (prime(n)-1)/2 mod prime(n) if n > 4. Presumably all primes occur as 3rd term if initial prime is suitably chosen.
LINKS
FORMULA
a(n) = Min[x; A094460(x) = prime(n)].
EXAMPLE
n=25: prime(25) = 97 and an Euclid-Mullin sequence started with a(25) = 5189 = 97*53 + 48 is {5189, 2, 97, 101, 3, 7, 167, 356568143863}.
All larger (prime) solutions with 97 as 3rd term have the form 97k + 48 form. However, not all primes of the form 97k + 48 result in Euclid-Mullin (EM) sequences with the property that the 3rd term is 97. For example, 727 = 7*97 + 48 is a prime providing an EM sequence as follows: {727, 2, 3, 4363, 19, 5, 1709, 11, 33988283132431, 7} with 3rd term = 3.
Analogous statements hold for other initial or 3rd primes.
MATHEMATICA
a[x_]:=First[Flatten[FactorInteger[Apply[Times, Table[a[j], {j, 1, x-1}]]+1]]]; ta=Table[0, {20000}]; a[1]=1; Do[{a[1]=Prime[j], el=3}; ta[[j]]=a[el], {j, 1, 20000}] Table[Prime[Min[Flatten[Position[ta, Prime[w]]]]], {w, 1, 100}]
CROSSREFS
Sequence in context: A090535 A107778 A122735 * A224795 A138449 A156680
KEYWORD
nonn
AUTHOR
Labos Elemer, May 10 2004
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 14 21:33 EDT 2024. Contains 372533 sequences. (Running on oeis4.)