search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
1 vote
111 views

number of string of length 3 using 4 distinct alphabet...

including string of  length zero and what if dont.?  

in Combinatory 111 views

1 Answer

0 votes
lenth 0 =o

length 1= 4

length 2=16

length 3=64

total 84 .....string  where am i wrong..?
0

number of string of length 3 using 4 distinct alphabet  including string of  length zero

strings of length 3 and length 0 only are asked, if strings of length at most 3 was asked, then you'd be correct.

0
Fir this question, shouldn't the answer be 65???

64 (for length 3) + 1 ( for length 0).

My question is, Should we count 1 for "0 length string", as we do in TOC(epsilon)???

Related questions

0 votes
0 answers
1
1 vote
1 answer
2
121 views
What will be solution of recurrence relation if roots are like this: r1=-2, r2=2, r3=-2, r4=2 is this the case of repetitive roots?
asked May 14, 2019 in Combinatory aditi19 121 views
0 votes
1 answer
3
79 views
In how many ways can 10 similar roses be distributed among 3 girls? In how many ways can 10 different roses be distributed among 3 girls?
asked Aug 25, 2018 in Combinatory Vegeta 79 views
1 vote
0 answers
4
141 views
How many positive integers less than 1,000,000 have the sum of their digits equal to 19?
asked Dec 21, 2017 in Combinatory Ayush Upadhyaya 141 views
...