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!)
A118663 Index of the least prime dividing the n-th composite number: A000720(A020639(A002808(n))). 2
1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 1, 4, 1, 2, 1, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 4, 1, 1, 2, 1, 1, 3, 1, 2, 1, 1, 4, 1, 2, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 1, 2, 1, 4, 1, 5, 1, 2, 1, 3, 1, 1, 2, 1, 1, 4, 1, 2, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
A118663 = A000720 o A056608. - M. F. Hasler, Apr 03 2012
MATHEMATICA
PrimePi[FactorInteger[#][[1, 1]]]&/@Select[Range[200], CompositeQ] (* Harvey P. Dale, May 13 2023 *)
PROG
(PARI) for(i=2, 999, isprime(i)||print1(primepi(factor(i)[1, 1])", ")) \\ - M. F. Hasler, Apr 03 2012
CROSSREFS
Cf. A056608.
Sequence in context: A341997 A053543 A161099 * A205119 A355150 A333915
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, May 19 2006
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 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)