Find all numbers of a particular length that can be formed with some digits
Answers
Answered by
5
Answer:
Find the count of such numbers that can be formed using digits 3 and 4 only and having length at max N. Examples: Input : N = 2 Output : 6 Explanation : 3, 4, 33, 34, 43, 44 are numbers having length 2 and digits 3 and 4 only. Input : N = 1 Output : 2 Explanation : 3, 4 are the only such numbers.
Mark it brainlist answer
Similar questions