%I #15 Feb 09 2017 11:56:34
%S 1,1,1,1,1,5,9,1,3,6,1,2,4,9,1,3,7,1,2,5,1,2,4,8,1,3,6,1,2,4,9,1,3,7,
%T 1,2,5,1,2,4,8,1,3,6,1,2,4,9,1,3,7,1,2,5,1,2,4,8,1,3,6,1,2,4,9,1,3,6,
%U 1,2,5,1,2,4,7,1,3,6,1,2,4,8,1,3,6,1,2,5,1,2,3,7,1,2,5,1,2,4,8,1,3,6,1,2,5
%N First digit of pentanacci numbers A000322.
%C Sequence obeys Benford law about distribution of first digits in a sequence P(n)=Log(1+1/n).
%H Indranil Ghosh, <a href="/A186192/b186192.txt">Table of n, a(n) for n = 1..10000</a>
%H <a href="/index/Be#Benford">Index entries for sequences related to Benford's law</a>
%e a(15)=1 since Penta(15)=1921.
%t t = {1, 1, 1, 1, 1}; Do[AppendTo[t, t[[-1]] + t[[-2]] + t[[-3]] + t[[-4]] + t[[-5]]], {100}]; Table[IntegerDigits[i][[1]], {i, t}]
%t First[IntegerDigits[#]]&/@LinearRecurrence[{1,1,1,1,1},{1,1,1,1,1},110] (* _Harvey P. Dale_, Mar 28 2013 *)
%Y Cf. A000322.
%K nonn,base
%O 1,6
%A _Carmine Suriano_, Feb 14 2011