
Thanks ↑ kerajs:. But i did not understand last line
please explain me, thanks
Offline
↑ stuart clark:
Hi Stuart Clarc
First I 'll take all the numbers
where
and
.
Subtract the cases where the are two zeros, otherwise one zero.Finally, I will subtract the cases where the are the same digits.
1) n is odd number and not divisible three![kopírovat do textarea $\frac{1}{6}\cdot \{(^{n+2}_{n})-3-3\cdot (n-1)-[\frac{n}{2}]\cdot 3\}$](/mathtex/f1/f18bef189a6683c93edcd9adc0eb8286.gif)
2)n is even number and not divisible three![kopírovat do textarea $\frac{1}{6}\cdot \{(^{n+2}_{n})-3-3\cdot (n-2)-[\frac{n}{2}]\cdot 3\}$](/mathtex/39/393714dd7998037b653075cc896819e9.gif)
3) n is odd number and divisible three![kopírovat do textarea $\frac{1}{6}\cdot \{(^{n+2}_{n})-3-3\cdot (n-1)-([\frac{n}{2}]-1)\cdot 3-1\}$](/mathtex/62/62da46270f25df1b42d9b21cb80e1b42.gif)
4)n is even number and divisible three![kopírovat do textarea $\frac{1}{6}\cdot \{(^{n+2}_{n})-3-3\cdot (n-2)-([\frac{n}{2}]-1)\cdot 3-1\}$](/mathtex/7a/7a322ea3f775b94b4b2506d79ffcd012.gif)
![kopírovat do textarea $[floor function ]$](/mathtex/b4/b4418585f8d7a567b170d5646285520a.gif)
Offline