a(1)=1. a(n) = smallest integer that is greater than a(n-1) and is coprime to the largest nonprime (1 or composite) occurring among the first (n-1) terms of the sequence.
A122090
a(1)=1. a(n) = smallest integer that is greater than a(n-1) and is coprime to the largest nonprime (1 or composite) occurring among the first (n-1) terms of the sequence.
Terms
- a(0) =1a(1) =2a(2) =3a(3) =4a(4) =5a(5) =7a(6) =9a(7) =10a(8) =11a(9) =13a(10) =17a(11) =19a(12) =21a(13) =22a(14) =23a(15) =25a(16) =26a(17) =27a(18) =28a(19) =29a(20) =31a(21) =33a(22) =34a(23) =35a(24) =36a(25) =37a(26) =41a(27) =43a(28) =47a(29) =49
External references
- oeis: A122090