login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A186191
First digit of tetranacci numbers A000288.
1
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, 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, 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
OFFSET
0,5
COMMENTS
Sequence obeys Benford law about distribution of first digits in a sequence: P(n)=Log(1+1/n).
EXAMPLE
a(9)=9 since Tetra(9)=94.
MATHEMATICA
t = {1, 1, 1, 1}; Do[AppendTo[t, t[[-1]] + t[[-2]] + t[[-3]] + t[[-4]]], {100}]; Table[IntegerDigits[i][[1]], {i, t}]
IntegerDigits[#][[1]]&/@LinearRecurrence[{1, 1, 1, 1}, {1, 1, 1, 1}, 120] (* Harvey P. Dale, Nov 08 2024 *)
CROSSREFS
Cf. A000288.
Sequence in context: A188735 A254338 A197723 * A256507 A123734 A011519
KEYWORD
nonn,base
AUTHOR
Carmine Suriano, Feb 14 2011
EXTENSIONS
Offset changed by Georg Fischer, Jun 26 2024
STATUS
approved