a(n) is the number of integers x that can be written x = (2^c(1) - 2^c(2) - 3*2^c(3) - 3^2*2^c(4) - ... - 3^(m-2)*2^c(m) - 3^(m-1)) / 3^m for integers c(1), c(2), ..., c(m) such that n = c(1) > c(2) > ... > c(m) > 0 and c(1) - c(2) != 2 if m >= 2.

A131450

a(n) is the number of integers x that can be written x = (2^c(1) - 2^c(2) - 3*2^c(3) - 3^2*2^c(4) - ... - 3^(m-2)*2^c(m) - 3^(m-1)) / 3^m for integers c(1), c(2), ..., c(m) such that n = c(1) > c(2) > ... > c(m) > 0 and c(1) - c(2) != 2 if m >= 2.

Terms

    a(0) =0a(1) =1a(2) =0a(3) =1a(4) =1a(5) =1a(6) =1a(7) =1a(8) =2a(9) =4a(10) =6a(11) =6a(12) =7a(13) =8a(14) =11a(15) =18a(16) =23a(17) =29a(18) =39a(19) =52a(20) =71a(21) =99a(22) =124a(23) =160a(24) =220a(25) =302a(26) =403a(27) =532a(28) =707a(29) =936

External references