A238055 a(n) = (13*3^n-1)/2.
6, 19, 58, 175, 526, 1579, 4738, 14215, 42646, 127939, 383818, 1151455, 3454366, 10363099, 31089298, 93267895, 279803686, 839411059, 2518233178, 7554699535, 22664098606, 67992295819, 203976887458, 611930662375, 1835791987126, 5507375961379, 16522127884138
Offset: 0
Examples
Ternary....................Decimal 20...............................6 201.............................19 2011............................58 20111..........................175 201111.........................526 2011111.......................1579 20111111......................4738 201111111....................14215, etc.
Links
- Index entries for linear recurrences with constant coefficients, signature (4,-3).