a(n) = lambda(phi(n)) where lambda(n) (A002322) is the Carmichael lambda function which gives the smallest integer m such that k^m = 1 mod n for all integers k relatively prime to n and phi(n) is A000010.

A077197

a(n) = lambda(phi(n)) where lambda(n) (A002322) is the Carmichael lambda function which gives the smallest integer m such that k^m = 1 mod n for all integers k relatively prime to n and phi(n) is A000010.

Terms

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

External references