a(1)=2; for n > 1, a(n) is the smallest integer greater than a(n-1) consistent with the condition "n is in the sequence if and only if a(n) is congruent to 0 (mod 6)".

A080780

a(1)=2; for n > 1, a(n) is the smallest integer greater than a(n-1) consistent with the condition "n is in the sequence if and only if a(n) is congruent to 0 (mod 6)".

Terms

    a(0) =2a(1) =6a(2) =7a(3) =8a(4) =9a(5) =12a(6) =18a(7) =24a(8) =30a(9) =31a(10) =32a(11) =36a(12) =37a(13) =38a(14) =39a(15) =40a(16) =41a(17) =42a(18) =43a(19) =44a(20) =45a(21) =46a(22) =47a(23) =48a(24) =49a(25) =50a(26) =51a(27) =52a(28) =53a(29) =54

External references