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!)
A107286 a(0) = 0; for n>0, minimal prime factor of n, or 1 if n is 1 or a prime. 5
0, 1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 5, 2, 3, 2, 1, 2, 1, 2, 3, 2, 5, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 2, 7, 2, 3, 2, 1, 2, 5, 2, 3, 2, 1, 2, 1, 2, 3, 2, 5, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 7, 2, 1, 2, 3, 2, 1, 2, 5, 2, 3, 2, 1, 2, 7, 2, 3, 2, 5, 2, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
PROG
(PARI) a(n) = if (n==0, 0, if (n==1, 1, if (isprime(n), 1, factor(n)[1, 1]))) \\ Michel Marcus, Jun 03 2013
CROSSREFS
Cf. A020639.
Sequence in context: A082067 A082061 A327979 * A339791 A087039 A102096
KEYWORD
nonn,look
AUTHOR
Giovanni Teofilatto, May 20 2005
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)