a(n) = gcd(n,m(n)), where m(n) is the n-th nonprime positive integer (1 or composite).
A118310
a(n) = gcd(n,m(n)), where m(n) is the n-th nonprime positive integer (1 or composite).
Terms
- a(0) =1a(1) =2a(2) =3a(3) =4a(4) =1a(5) =2a(6) =1a(7) =2a(8) =3a(9) =2a(10) =1a(11) =4a(12) =1a(13) =2a(14) =3a(15) =1a(16) =1a(17) =9a(18) =1a(19) =10a(20) =1a(21) =11a(22) =1a(23) =1a(24) =1a(25) =2a(26) =3a(27) =4a(28) =1a(29) =2
External references
- oeis: A118310