login
Number of Fibonacci numbers F(k), k <= 10^n, which end in 6.
3

%I #24 Sep 08 2018 12:51:05

%S 0,6,66,666,6666,66666,666666,6666666,66666666,666666666,6666666666,

%T 66666666666,666666666666,6666666666666,66666666666666,

%U 666666666666666,6666666666666666,66666666666666666,666666666666666666,6666666666666666666,66666666666666666666,666666666666666666666,6666666666666666666666,66666666666666666666666

%N Number of Fibonacci numbers F(k), k <= 10^n, which end in 6.

%C Apart from offset same as A002280. - _Joerg Arndt_, Jan 14 2018

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (11,-10).

%F a(n) = (10^n - 10)/15. - _Robert Gerbicz_, Sep 06 2002

%F a(n) = a(n-1) + 6*10^(n-2), with a(1)=0. - _Vincenzo Librandi_, Aug 08 2010

%e a(2)=6 because there are 6 Fibonacci numbers up to Fibonacci(10^2) which end in 6.

%p A073549 := [seq((10^n - 10)/15, n=1..100)]; # _Muniru A Asiru_, Jan 14 2018

%t LinearRecurrence[{11,-10},{0,6},30] (* or *) Table[(10^n-10)/15,{n,30}] (* _Harvey P. Dale_, Sep 08 2018 *)

%K base,nonn

%O 1,2

%A _Shyam Sunder Gupta_, Aug 15 2002

%E More terms from _Robert Gerbicz_, Sep 06 2002