a(1)=1, for n>1: a(n) is the smallest divisor of n occurring earlier at most twice.
A086956
a(1)=1, for n>1: a(n) is the smallest divisor of n occurring earlier at most twice.
Terms
- a(0) =1a(1) =1a(2) =1a(3) =2a(4) =5a(5) =2a(6) =7a(7) =2a(8) =3a(9) =5a(10) =11a(11) =3a(12) =13a(13) =7a(14) =3a(15) =4a(16) =17a(17) =6a(18) =19a(19) =4a(20) =7a(21) =11a(22) =23a(23) =4a(24) =5a(25) =13a(26) =9a(27) =14a(28) =29a(29) =6
External references
- oeis: A086956