login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079369 Costé prime expansion of e - 2. 4
2, 3, 5, 2, 11, 17, 11, 3, 37, 11, 11, 3, 5, 2, 11, 2, 11, 2, 53, 37, 7, 7, 73, 73, 79, 19, 17, 11, 5, 37, 7, 5, 7, 29, 277, 2903, 607, 211, 29, 11, 739, 9463, 8693, 3907, 307, 23, 223, 59, 37, 11, 2, 41, 23, 11, 3, 23, 7, 5, 5, 2, 11, 5, 7, 7, 5, 2, 5, 2, 5, 3, 67, 41, 223, 31, 107 (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

G. C. Greubel, Table of n, a(n) for n = 0..2000

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(exp(1)-2);

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[E - 2] (* G. C. Greubel, Jan 21 2019 *)

CROSSREFS

Cf. A079370, A079371, A079366, A079367, A079368.

Sequence in context: A262217 A124055 A137458 * A102867 A060383 A139044

Adjacent sequences:  A079366 A079367 A079368 * A079370 A079371 A079372

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 6 02:51 EDT 2020. Contains 335475 sequences. (Running on oeis4.)