We are all familiar with the $9$-dotted maze lock screen password that we get in all mobiles phones today.Now if minimum of $3$ consecutive dots can be joined to form a password total how many passwords can be formed?
My attempt:-$${9\choose 3}+{9\choose4}+...+{9\choose8}+{9\choose9}.$$
Now, I suspect this is wrong as when I write $9\choose3$,I choose any 3 dots among the $9$ dots that appear but this can't be as only $3$ consecutive dots can be chosen but here,we are not doing it.
So, what is the correct method to do it?
Definition of password for help:-Look at the figure.The numbers that can be joined are $1-2$,$1-4$ or $1-5$.But ,dots cannot be joined skipping any dot in between.For eg.$1-3,1-6,1-7,1-8$ or $1-9$ cannot be joined.Interestingly it can be noted,dot $5$ can be joined with all other dots(it is the mid-point).Also you can't overwrite over any line-For eg $1-2-1$ is invalid but you can cross over a line at a point.For eg $1-2-6-3-5$ is valid although there is an intersection of two lines.
So,total how many passwords can be formed?
Thanks for any help!!

If a maximum of three dots is used with not allowing to go back, one can try this. I just simplified the problem so that you only speak of Corner (1,3,7,9), Side (2,4,6,8,) Middle (5).
In that case there are only 7 decisions possible:
This gives a total of 160 possible passwords with 3 dots. Perhaps this is reducible to a formula, but I don't know how yet.