a(1)=1. a(2)=2. For n>=3, a(n) is the smallest positive integer not occurring earlier in the sequence such that (Sum_{k=1..n} a(k)) divides Product_{j=1..n} a(j).

A127562

a(1)=1. a(2)=2. For n>=3, a(n) is the smallest positive integer not occurring earlier in the sequence such that (Sum_{k=1..n} a(k)) divides Product_{j=1..n} a(j).

Terms

    a(0) =1a(1) =2a(2) =3a(3) =6a(4) =4a(5) =8a(6) =12a(7) =18a(8) =10a(9) =16a(10) =20a(11) =25a(12) =19a(13) =27a(14) =9a(15) =36a(16) =24a(17) =30a(18) =15a(19) =35a(20) =22a(21) =33a(22) =5a(23) =38a(24) =14a(25) =43a(26) =11a(27) =26a(28) =13a(29) =7

External references