A319431 The first differences (A319430) of the tribonacci representation numbers (A003726 or A278038) consists of runs of 1's separated by the terms of the present sequence.
2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 19, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 37, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 19, 2, 3, 2, 5, 2, 3, 74, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 19, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 37, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 147, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 19, 2, 3, 2, 5, 2
Offset: 1
Keywords
Examples
0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 24, 25, ... = A003726 (trib. repres. numbers) 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 5, 1, 1, ... = A319430 (differences) 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 5, 2, 19, 2, 3, 2, 5, 2, 3, 10, 2, 3, 2, 37, 2, ... (omit 1's, present sequence) 6, 1, 5, 1, 6, 1, 3, 1, 6, 1, 5, 1, 6, 1, 6, 1, 5, 1, 6, 1, 3, 1, 6, 1, 5, 1, ... = run lengths in differences 6, 5, 6, 3, 6, 5, 6, 6, 5, 6, 3, 6, 5, 6, 5, 6, 3, 6, 5, 6, 6, 5, 6, 3, 6, 5, 6, ... = A275925 truncated (BISECTION of run lengths)
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..50000 (first 1606 terms from N. J. A. Sloane)
Programs
-
Mathematica
DeleteCases[Differences@ Select[Range[0, 1200], SequenceCount[IntegerDigits[#, 2], {1, 1, 1}] == 0 &] , 1] (* Michael De Vlieger, Dec 23 2019 *)
Comments