in Combinatory retagged by
386 views
1 vote
1 vote
no of strings upto length 3 on alphabet ∑={a,b,c,d} are (including string of zero length )??
in Combinatory retagged by
386 views

2 Comments

85??
0
0
yes explain.
0
0

1 Answer

2 votes
2 votes
Best answer

No of strings of length 0 = 1

No of strings of length 1 = 41  =  4

No of strings of length 2 = 42 = 16

No of strings of length 3  = 43  =  64

Hence total no of strings of length 3 at most =  1 + 4 + 16 + 64

                                                                 =  85

selected by

1 comment

:( it was very easy .question i don't know why i was thinking in wrong way and made a mistake anyways thanks :)
0
0
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