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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A058024 Difference between lcm(1,...,x)-1 and largest preceding prime. Numbers of x for LCM were taken of A000961 to obtain distinct LCM values exactly once. 0
 3, 4, 3, 5, 7, 11, 11, 17, 19, 23, 17, 43, 59, 37, 29, 41, 53, 43, 37, 43, 47, 83, 71, 83, 61, 149, 73, 97, 89, 109, 113, 103, 113, 89, 137, 167, 157, 181, 239, 139, 241, 139, 179, 233, 193, 163, 241, 173, 283, 167, 271, 193, 277, 181, 179, 199, 269, 193, 223, 239 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS EXAMPLE 1 - 3 = -2, 2 - 4 = -2, 6 - 3 = 3, 12 - 5 = 7, 60 - 7 = 53, 420 - 11 = 409, ... give the first suitable primes with differences 3, 4, 3, 5, 7, 11, .... These deviations, except a(2)=4, have proved to be primes so far. The analogy with fortunate numbers (A005235) is visible. CROSSREFS Cf. A000961, A003418, A005235, A051451, A052017, A055211, A057034. Sequence in context: A342927 A226798 A045997 * A262150 A325594 A104076 Adjacent sequences:  A058021 A058022 A058023 * A058025 A058026 A058027 KEYWORD nonn AUTHOR Labos Elemer, Nov 15 2000 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.

Last modified August 4 16:18 EDT 2021. Contains 346447 sequences. (Running on oeis4.)