A356965 a(n) is the sum of the tribonacci numbers in common in the greedy and lazy tribonacci representations of n.
0, 1, 2, 3, 4, 5, 6, 0, 8, 9, 10, 11, 12, 0, 1, 15, 16, 17, 18, 19, 13, 21, 22, 23, 0, 1, 2, 3, 28, 29, 30, 24, 32, 33, 34, 35, 36, 24, 25, 39, 40, 41, 42, 43, 0, 1, 2, 3, 4, 5, 6, 7, 52, 53, 54, 55, 56, 44, 45, 59, 60, 61, 62, 63, 57, 65, 66, 67, 44, 45, 46
Offset: 0
Examples
For n = 58: - with T = A000073, - the greedy representation of 58 is: T(9) + T(7) + T(3), - the lazy representation of 58 is: T(9) + T(6) + T(5) + T(4) + T(3), - so a(59) = T(9) + T(3) = 45.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..10609
- Rémy Sigrist, PARI program
- Index entries for sequences related to Zeckendorf expansion of n
Programs
-
PARI
See Links section.
Comments