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!)
A242036 Smallest k such that in the interval [1,k] in A242033 all odd primes <= prime(n) are present. 5
1, 4, 9, 54, 54, 88, 88, 220, 220, 444, 444, 570, 570, 570, 896, 1510, 1510, 1510, 1510, 1695, 2065, 2249, 2249, 2968, 2968, 2968, 2968, 3341, 4561, 4561, 4561, 4942, 4942, 6471, 6471, 6471, 7158, 9202, 9202, 10915, 10915, 10915, 10915, 12312, 12312, 12312 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
MATHEMATICA
lpf[n_]:=lpf[n]=First[First[FactorInteger[n]]]; (* least prime factor *)
A242033=Map[lpf[#-1]&, Select[Range[6, 100000, 2], lpf[#-1]<lpf[#-3]&](*A245024*)];
pos={}; NestWhile[#+1&, 2, (AppendTo[pos, Position[A242033, Prime[#], 1, 1]]; !Last[pos]=={})&];
A242036=Rest[FoldList[Max, -Infinity, Flatten[pos]]] (* Peter J. C. Moses, Aug 14 2014 *)
CROSSREFS
Sequence in context: A368634 A009276 A086692 * A069507 A219894 A203464
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Aug 12 2014
EXTENSIONS
More terms from Peter J. C. Moses, Aug 12 2014
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 June 11 17:16 EDT 2024. Contains 373315 sequences. (Running on oeis4.)