This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A186191 #16 Nov 08 2024 17:39:49 %S A186191 1,1,1,1,4,7,1,2,4,9,1,3,6,1,2,4,9,1,3,6,1,2,4,9,1,3,6,1,2,4,9,1,3,6, %T A186191 1,2,4,8,1,3,6,1,2,4,8,1,3,6,1,2,4,8,1,3,6,1,2,4,8,1,3,6,1,2,4,8,1,3, %U A186191 6,1,2,4,8,1,3,6,1,2,4,8,1,3,6,1,2,4,8,1,3,5,1,2,4,8,1,3,5,1,2,4,8,1,3,5 %N A186191 First digit of tetranacci numbers A000288. %C A186191 Sequence obeys Benford law about distribution of first digits in a sequence: P(n)=Log(1+1/n). %H A186191 <a href="/index/Be#Benford">Index entries for sequences related to Benford's law</a> %e A186191 a(9)=9 since Tetra(9)=94. %t A186191 t = {1,1,1,1}; Do[AppendTo[t, t[[-1]] + t[[-2]] + t[[-3]] + t[[-4]]], {100}]; Table[IntegerDigits[i][[1]], {i, t}] %t A186191 IntegerDigits[#][[1]]&/@LinearRecurrence[{1,1,1,1},{1,1,1,1},120] (* _Harvey P. Dale_, Nov 08 2024 *) %Y A186191 Cf. A000288. %K A186191 nonn,base %O A186191 0,5 %A A186191 _Carmine Suriano_, Feb 14 2011 %E A186191 Offset changed by _Georg Fischer_, Jun 26 2024