a(n) is the divisor of n that is nearest to tau(n), the number of divisors of n. In case of a tie, take the smaller of those two divisors.

A138224

a(n) is the divisor of n that is nearest to tau(n), the number of divisors of n. In case of a tie, take the smaller of those two divisors.

Terms

    a(0) =1a(1) =2a(2) =1a(3) =2a(4) =1a(5) =3a(6) =1a(7) =4a(8) =3a(9) =5a(10) =1a(11) =6a(12) =1a(13) =2a(14) =3a(15) =4a(16) =1a(17) =6a(18) =1a(19) =5a(20) =3a(21) =2a(22) =1a(23) =8a(24) =1a(25) =2a(26) =3a(27) =7a(28) =1a(29) =6

External references