a(n) is the number of positive integers k such that k is equal to the number of 1's in the digits of the base-n expansion of all positive integers <= k.

A165617

a(n) is the number of positive integers k such that k is equal to the number of 1's in the digits of the base-n expansion of all positive integers <= k.

Terms

    a(0) =2a(1) =4a(2) =8a(3) =4a(4) =21a(5) =5a(6) =45a(7) =49a(8) =83a(9) =10a(10) =269a(11) =11a(12) =202a(13) =412a(14) =479a(15) =15a(16) =1108a(17) =15a(18) =1545a(19) =1219a(20) =1343a(21) =21a(22) =8944a(23) =706a(24) =1043a(25) =5077a(26) =4084a(27) =28a(28) =27589a(29) =27

External references