OFFSET
1,3
COMMENTS
A000073(n) + 1 is a term for n>=4, since its minimal tribonacci representation is 10...01 with n-4 0's between the two 1's.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The first 10 terms are:
n a(n) A278038(a(n))
-----------------------
1 0 0
2 1 1
3 3 11
4 5 101
5 8 1001
6 14 10001
7 18 10101
8 23 11011
9 25 100001
10 36 101101
MATHEMATICA
t[1] = 1; t[2] = 2; t[3] = 4; t[n_] := t[n] = t[n - 1] + t[n - 2] + t[n - 3]; q[n_] := Module[{s = {}, m = n, k}, While[m > 0, k = 1; While[t[k] <= m, k++]; k--; AppendTo[s, k]; m -= t[k]; k = 1]; PalindromeQ[FromDigits @ IntegerDigits[Total[2^(s - 1)], 2]]]; Select[Range[0, 1000], q]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Mar 04 2022
STATUS
approved