a(n) = gcd(P+p, P*p) where P is the largest and p the smallest prime factor of n.

A099634

a(n) = gcd(P+p, P*p) where P is the largest and p the smallest prime factor of n.

Terms

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

External references