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!)
A166948 The count of smallest prime factors in n-th composite. 1
2, 1, 3, 2, 1, 2, 1, 1, 4, 1, 2, 1, 1, 3, 2, 1, 3, 2, 1, 5, 1, 1, 1, 2, 1, 1, 3, 1, 2, 2, 1, 4, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 2, 6, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 4, 4, 1, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 5, 1, 2, 2, 1, 3, 1, 1, 2, 1, 1, 4, 1, 1, 2, 2, 1, 1, 3, 2, 1, 1, 2, 3, 1, 7, 1, 1, 2, 1, 1, 3, 3, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=2 (4 = 2*2);
a(2)=1 (6 = 2*3);
a(3)=3 (8 = 2*2*2);
a(4)=2 (9 = 3*3).
MAPLE
A020639 := proc(n) numtheory[factorset](n) ; min(op(%)) ; end proc:
A166948 := proc(n) c := A002808(n) ; smpr := A020639(c) ; for p in ifactors(c)[2] do if op(1, p) = smpr then return op(2, p) ; end if; end do: end proc:
seq(A166948(n), n=1..120) ; # R. J. Mathar, May 21 2010
MATHEMATICA
FactorInteger[#][[1, 2]]&/@Select[Range[200], CompositeQ] (* Harvey P. Dale, Apr 20 2022 *)
CROSSREFS
Sequence in context: A103484 A016444 A280831 * A325532 A180075 A193865
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 21 2010
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 27 00:54 EDT 2024. Contains 373723 sequences. (Running on oeis4.)