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!)
A052299 Minimal number of distinct prime factors of any composite number between n-th and (n+1)-st primes. 0
1, 2, 1, 2, 1, 2, 2, 1, 3, 1, 2, 3, 2, 1, 2, 3, 1, 2, 2, 2, 1, 2, 2, 2, 3, 2, 2, 2, 1, 1, 2, 3, 2, 3, 2, 2, 2, 1, 2, 3, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 3, 1, 1, 2, 2, 3, 2, 2, 3, 1, 2, 2, 3, 2, 2, 2, 1, 3, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 4, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
EXAMPLE
n=81: p(81)=419, p(82)=421. The intermediate range of composites includes only 420=4*3*5*7 having 4 prime-factors, so a(81)=4;
MATHEMATICA
Min[PrimeNu[Range[#[[1]]+1, #[[2]]-1]]]&/@Partition[Prime[ Range[ 2, 110]], 2, 1] (* Harvey P. Dale, Mar 31 2012 *)
CROSSREFS
Sequence in context: A274354 A083870 A368779 * A071854 A183025 A072410
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 09 2000
EXTENSIONS
Offset corrected by Sean A. Irvine, Nov 04 2021
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)