Just Like Fibonacci

I have a sequence similar to the Fibonacci Sequence.

1 , 1 , 1 , 3 , 5 , 9 , 17 , 31 , 57 , 105 , 193 , . . . 1,1,1,3,5,9,17,31,57,105,193,...

Each term is the sum of of the previous three terms. How many of the first 2014 2014 numbers have a 9 9 in the units digit?


The answer is 389.

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.

1 solution

Anand Raj
Mar 4, 2014

I Found that after 31 terms the unit digit repeated........In 31 terms were 6 times.......

in 31x64 = 1984 terms ===== 6x64 = 384 9s

In remaining 30 terms 5 9s........

So total 389 times 9

Correct answer is 380and not 389

sangeet aggarwal - 7 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...