If n is prime then a(n) = n; for the subsequent nonprime positions a(n + k) = (k+1)*n; then at the next prime position a new subsequence begins.

A064924

If n is prime then a(n) = n; for the subsequent nonprime positions a(n + k) = (k+1)*n; then at the next prime position a new subsequence begins.

Terms

    a(0) =2a(1) =3a(2) =6a(3) =5a(4) =10a(5) =7a(6) =14a(7) =21a(8) =28a(9) =11a(10) =22a(11) =13a(12) =26a(13) =39a(14) =52a(15) =17a(16) =34a(17) =19a(18) =38a(19) =57a(20) =76a(21) =23a(22) =46a(23) =69a(24) =92a(25) =115a(26) =138a(27) =29a(28) =58a(29) =31

External references