The number of ways in which n is equal to the sum of digits taken from the numbers <= n.

A245439

The number of ways in which n is equal to the sum of digits taken from the numbers <= n.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =2a(4) =3a(5) =4a(6) =5a(7) =6a(8) =8a(9) =26a(10) =81a(11) =243a(12) =693a(13) =1887a(14) =4932a(15) =12418a(16) =30288a(17) =72026a(18) =167989a(19) =541500a(20) =1635975a(21) =4662579a(22) =12580587a(23) =32228307a(24) =78662108a(25) =183988734a(26) =415466897a(27) =912816164a(28) =1965020012a(29) =6121555788

External references