To find the number of positive integers that satisfy both conditions, we can consider the possible combinations of digits (1, 3, 5) that add up to 6.
Let's break down the possible cases:
Three 1's: 1+1+1+1+1+1=6
One 3 and three 1's: 3+1+1+1=6
One 5 and one 1: 5+1=6
So, there are three possible combinations that satisfy both conditions. Therefore, there are three positive integers: 111111, 3111,1311,1131,1113.15 and 51.