a(1)=1 and, for n>1, a(n)=a(n-1)+Floor(3n/4) if n is even, else a(n)=smallest positive integer which has not yet appeared in the sequence.

A095720

a(1)=1 and, for n>1, a(n)=a(n-1)+Floor(3n/4) if n is even, else a(n)=smallest positive integer which has not yet appeared in the sequence.

Terms

    a(0) =1a(1) =3a(2) =2a(3) =5a(4) =4a(5) =8a(6) =6a(7) =12a(8) =7a(9) =15a(10) =9a(11) =18a(12) =10a(13) =20a(14) =11a(15) =23a(16) =13a(17) =27a(18) =14a(19) =29a(20) =16a(21) =32a(22) =17a(23) =35a(24) =19a(25) =39a(26) =21a(27) =42a(28) =22a(29) =44

External references