Numbers m such that the permutation of the first m natural numbers R_m(n)=if(1<=n<m-pi(m), c(n), if(n=m, 1, prime(n-m-pi(m)+1))) is a cyclic permutation where c(k) is the k-th composite number(for each natural number k, c(k)=A002808(k)).

A108517

Numbers m such that the permutation of the first m natural numbers R_m(n)=if(1<=n<m-pi(m), c(n), if(n=m, 1, prime(n-m-pi(m)+1))) is a cyclic permutation where c(k) is the k-th composite number(for each natural number k, c(k)=A002808(k)).

Terms

    a(0) =1a(1) =15a(2) =33a(3) =66a(4) =85a(5) =112a(6) =125a(7) =148a(8) =213a(9) =237a(10) =321a(11) =381a(12) =466a(13) =518a(14) =585a(15) =637a(16) =956a(17) =2127a(18) =2571a(19) =4255a(20) =4884a(21) =6686a(22) =9193a(23) =10412a(24) =11073

External references