Prove that there are 3^n n-digit numbers formed with 4, 5 ,6

  • Thread starter tonit
  • Start date
  • Tags
    Numbers
In summary, the problem asks to prove that there are 3^n n-digit numbers formed with the numbers 4, 5, 6, where the digits can be repeated. The proof can be done by showing that there are 3^k numbers with k digits, and for each of these numbers, there are 3 more options for the first digit, making a total of 3^(k+1) numbers with (k+1) digits. This can be proven by induction, with the base case of P(1) being true and the induction hypothesis P(k) implying P(k+1).
  • #1
tonit
55
1

Homework Statement


Prove that there are 3^n n-digit numbers formed with the numbers 4, 5, 6.
The digits can be repeated, e.g.: 444.


Homework Equations


-


The Attempt at a Solution


What I thought was to prove it by induction. So [itex]P[/itex](1) is true, because we have only 4, 5, 6.

But it seems to me unreasonable to say [itex]P[/itex](k)[itex] => P[/itex](k+1)

any help is appreciated
 
Physics news on Phys.org
  • #2
tonit said:

Homework Statement


Prove that there are 3^n n-digit numbers formed with the numbers 4, 5, 6.
The digits can be repeated, e.g.: 444.

Homework Equations


-

The Attempt at a Solution


What I thought was to prove it by induction. So [itex]P[/itex](1) is true, because we have only 4, 5, 6.

But it seems to me unreasonable to say [itex]P[/itex](k)[itex] => P[/itex](k+1)

any help is appreciated

Hi tonit! :smile:

So suppose there are ##3^k## numbers with k digits.
The numbers with (k+1) digits would be one digit longer.
That is, they would have one more digit to the left.

How many numbers of (k+1) digits could you make, given that the last k digits are fixed?
 
  • #3
that would be [itex]3^k * 3 = 3[/itex]k+1
thanks btw for the reply.

so is all this enough, or does the problem need other explanations. ?
 
  • #4
A proof by full induction involves 2 steps.

The boundary condition that ##P_{(1)}## is true.

The induction hypothesis that ##P_{(k)}## is true, followed by the proof that it implies that ##P_{(k+1)}## is true as well.

You just showed both.
So yes, that is enough.
 
  • #5
ok thanks :D
 

Related to Prove that there are 3^n n-digit numbers formed with 4, 5 ,6

1. How did you come up with the formula for 3^n n-digit numbers formed with 4, 5, 6?

The formula for this question is based on the concept of combinations. Since there are 3 possible numbers (4, 5, 6) for each digit, and we need n digits, the total number of combinations would be 3^n.

2. Can you provide an example of 3^n n-digit numbers formed with 4, 5, 6?

Sure, for n = 3, the numbers would be: 444, 445, 446, 454, 455, 456, 464, 465, 466, 544, 545, 546, 554, 555, 556, 564, 565, 566, 644, 645, 646, 654, 655, 656, 664, 665, 666.

3. How does this formula relate to the concept of permutations?

The formula for 3^n n-digit numbers formed with 4, 5, 6 is based on the concept of combinations, not permutations. This is because we are not concerned with the order of the numbers, only the total number of possible combinations.

4. Is the formula for 3^n n-digit numbers formed with 4, 5, 6 applicable to any other set of numbers?

Yes, the formula is applicable to any set of n numbers. The only difference would be the number of possible combinations depending on the size of the set. For example, if we had 5 numbers (1, 2, 3, 4, 5) and we needed 4 digits, the formula would be 5^4 = 625 possible combinations.

5. How can this formula be useful in real-world scenarios?

This formula can be useful in various areas such as computer programming, probability, and cryptography. In programming, it can be used to generate unique combinations of numbers. In probability, it can help calculate the chances of a certain combination occurring. And in cryptography, it can be used to generate secure passwords or encryption keys.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
414
  • Precalculus Mathematics Homework Help
Replies
11
Views
258
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
988
  • Precalculus Mathematics Homework Help
Replies
34
Views
3K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
877
Back
Top