+0  
 
0
56
9
avatar

Find the number of positive integers that satisfy both the following conditions:

Each digit is a or a

The sum of the digits is

 

I tried it on my own and 52, 45, and 4004 have all been incorrect.

 Jul 21, 2023
 #1
avatar
0

THE LEAST you could do is proof-read your question before you post it. Notice something missing?

 Jul 21, 2023
 #2
avatar
0

Eh. People like them don't care enough.

Guest Jul 21, 2023
 #3
avatar
0

sorry it was each digit must be 1 or 2, the sum of the digits is 8

Guest Jul 21, 2023
 #4
avatar
0

But what integers do you want checked? 3-digit integers, 4-digit integers, 10-digit integers.....etc.

Guest Jul 21, 2023
 #5
avatar
0

well since the sum of the digits must be 8, it can only go up to 8 digit numbers.

Guest Jul 21, 2023
 #6
avatar
0

How about: 10001000010000200001000010000001.......etc.

Guest Jul 21, 2023
 #7
avatar
0

The digits can only be 1 or 2.

Guest Jul 22, 2023
 #8
avatar
0

[2222, 11222, 12122, 12212, 12221, 21122, 21212, 21221, 22112, 22121, 22211, 111122, 111212, 111221, 112112, 112121, 112211, 121112, 121121, 121211, 122111, 211112, 211121, 211211, 212111, 221111, 1111112, 1111121, 1111211, 1112111, 1121111, 1211111, 2111111, 11111111]> Total of all such numbers== 34

 Jul 22, 2023
 #9
avatar
0

That answer is incorrect.

Guest Jul 25, 2023

2 Online Users

avatar
avatar