With only using 0, 1 and 2, we want to make a string so that the difference between one symbol to the next or previous symbol is not more than one . for example we can make string 011221 and 2211010 , but we cannot make 102. how many string could be made , if it was 10 digit long ? please post a solution :)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!