cp's OEIS Frontend

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.

A278044 Length of tribonacci representation of n (cf. A278038).

This page as a plain text file.
%I A278044 #28 Jul 07 2022 02:31:05
%S A278044 1,1,2,2,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,
%T A278044 6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
%U A278044 7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
%N A278044 Length of tribonacci representation of n (cf. A278038).
%C A278044 For n>=2, n appears A001590(n+2) times. - _John Keith_, May 23 2022
%H A278044 N. J. A. Sloane, <a href="/A278044/b278044.txt">Table of n, a(n) for n = 0..20000</a>
%H A278044 Wolfdieter Lang, <a href="https://arxiv.org/abs/1810.09787">The Tribonacci and ABC Representations of Numbers are Equivalent</a>, arXiv preprint arXiv:1810.09787 [math.NT], 2018.
%F A278044 a(n) = A278042(n) + A278043(n).
%t A278044 t[1] = 1; t[2] = 2; t[3] = 4; t[n_] := t[n] = t[n - 1] + t[n - 2] + t[n - 3]; a[0] = 1; a[n_] := Module[{k = 1}, While[t[k] <= n, k++]; k - 1]; Array[a, 100, 0] (* _Amiram Eldar_, Mar 04 2022 *)
%Y A278044 Cf. A278038, A278042, A278043.
%Y A278044 Cf. A001590.
%Y A278044 Similar to, but strictly different from, A201052.
%K A278044 nonn,base
%O A278044 0,3
%A A278044 _N. J. A. Sloane_, Nov 18 2016