|
EXAMPLE
|
The integers coprime to 4 are 1,3,5,.. The 1st of these is 1. The integers coprime to 3 are 1,2,4,5,.. The 2nd of these is 2. The integers coprime to 2 are 1,3,5,7,9,.. The 3rd of these is 5. And the integers coprime to 1 are 1,2,3,4,5,.. The 4th of these is 4. So a(5) = LCM(1,2,5,4) = 20.
|