Raghav Gupta
- 1,010
- 76
So can we say you have understood and got the answer?
The last two terms are wrong, should be 19 and 43.Raghav Gupta said:That pattern is finding nth term for sequence
0, 1, 3, 8, 16, 27------
hey, I have to sleep sometime. (7:30am here now.)AdityaDev said:Haruspex dissapeared. He left me confused. I don't know how to proceed.
we are in different timezones then. My 2:22 am is your 7:30 am!haruspex said:hey, I have to sleep sometime. (7:30am here now.).
There should be 11C0 term = 1 also considering no zeroes in number.AdityaDev said:10C1+9C2+8C3+7C4+6C5
But how you got f10 fast? It would take time to add that numbers starting from f0 unless you use a software.haruspex said:Having got the recurrence relation, it is a trivial matter to work through from the smaller numbers:
f0=1, f1=2, so f2=1+2=3, etc. up to f10=144.
As to whether this method is too 'advanced', I would not have thought so. You don't need to know it is called a recurrence relation, and you don't need to solve the relation (i.e. find a general formula for fn). It's more like applying induction. You need to spot that having filled in the first digit the problem for the remaining digits hasn't changed much.
How you know that Haruspex is he/she.Haruspex left me. He made me confused that how to proceed.
That does not matter. I got my doubt cleared and I am happy. Even if haruspex is a she.. what difference does it make?Raghav Gupta said:
I think you meant question and not doubt.I got my doubt cleared and I am happy
f(0) = 1, f(1) = 2 easyRaghav Gupta said:But how you got f10 fast? It would take time to add that numbers starting from f0 unless you use a software.
It's like fibonacci series where there are no first two terms 0, 1.
Even if there's no effort obtaining the combinatorial terms in your series, you still have to add n of them (or n/2, maybe). Using Fibonacci, you have to add n terms, but no combinatorials to calculate.Raghav Gupta said:Thanks, I learned other approach but what if there were more spaces instead of 10. Now should we use Binet's formula? In software we can make loops for calculating that nth term for a recurrence relation and here it's easy because there were only 10 spaces.
In my approach there is a sequence for finding nth term.