a(1)=1. Skipping over integers occurring earlier in the sequence, count down a composite from a(n) to get a(n+1) so that a(n+1) is the smallest possible positive integer arrived at this way. If there are no positive integers at a distance of a composite number of yet unused integers, instead count up from a(n) 4 (the lowest composite positive integer) positions (skipping already occurring integers) to get a(n+1).
A111698
a(1)=1. Skipping over integers occurring earlier in the sequence, count down a composite from a(n) to get a(n+1) so that a(n+1) is the smallest possible positive integer arrived at this way. If there are no positive integers at a distance of a composite number of yet unused integers, instead count up from a(n) 4 (the lowest composite positive integer) positions (skipping already occurring integers) to get a(n+1).
Terms
- a(0) =1a(1) =5a(2) =9a(3) =2a(4) =7a(5) =12a(6) =3a(7) =10a(8) =15a(9) =4a(10) =13a(11) =18a(12) =6a(13) =16a(14) =21a(15) =8a(16) =19a(17) =24a(18) =11a(19) =22a(20) =27a(21) =14a(22) =25a(23) =30a(24) =17a(25) =28a(26) =33a(27) =20a(28) =31a(29) =36
External references
- oeis: A111698