a(n) = A005374(n) - floor(r*n) where r is the positive root of x^3+x-1=0.

A082401

a(n) = A005374(n) - floor(r*n) where r is the positive root of x^3+x-1=0.

Terms

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

External references