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!)
A079381 Costé prime expansion of Euler's constant gamma (A001620). 3
2, 7, 13, 19, 89, 23, 11, 131, 73, 43, 37, 7, 11, 3, 3, 3, 3, 3, 5, 2, 7, 61, 251, 41, 13, 11, 7, 23, 29, 5, 13, 11, 3, 67, 29, 7, 5, 5, 2, 17, 5, 23, 7, 11, 2, 31, 29, 5, 5, 5, 3, 3, 5, 11, 5, 7, 7, 29, 17, 5, 2, 41, 13, 13, 11, 199, 157, 101, 37, 7, 127, 29, 11, 3, 3, 5, 17, 5, 7, 5, 2, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
For x in (0,1], define P(x) = min{p: p prime, 1/x < p}, Phi(x) = P(x)x - 1. Costé prime expansion of x(0) is sequence a(0), a(1), ... given by x(n) = Phi(x(n-1)) (n>0), a(n) = P(x(n)) (n >= 0).
LINKS
A. Costé, Sur un système fibré lié à la suite des nombres premiers, Exper. Math., 11 (2002), 383-405.
MAPLE
Digits := 500: P := proc(x) local y; y := ceil(evalf(1/x)); if isprime(y) then y else nextprime(y); fi; end; F := proc(x) local y, i, t1; y := x; t1 := []; for i from 1 to 100 do p := P(y); t1 := [op(t1), p]; y := p*y-1; od; t1; end; F(gamma);
MATHEMATICA
$MaxExtraPrecision = 500; P[x_] := Module[{y}, y = Ceiling[1/x]; If[PrimeQ[y], y, NextPrime[y]]]; F[x_] := Module[{y, i, t1}, y = x; t1 = {}; For[i = 1, i <= 100, i++, AppendTo[t1, p = P[y]]; y = p*y - 1]; t1]; F[EulerGamma] (* G. C. Greubel, Jan 20 2019 *)
CROSSREFS
Sequence in context: A231476 A138042 A053977 * A079382 A111354 A344959
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 16 2003
EXTENSIONS
More terms from Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 17 2003
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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)