OFFSET
1,1
COMMENTS
From a problem in A269254. For detailed theory, see [Hone].
Sequence avoids numbers of the form T_p(T_2(j)).
LINKS
Andrew N. W. Hone, et al., On a family of sequences related to Chebyshev polynomials, arXiv:1802.01793 [math.NT], 2018.
MATHEMATICA
maxT = 55000; maxn = 12;
T[0][_] = 2; T[1][x_] = x;
T[m_][x_] := T[m][x] = x T[m-1][x] - T[m-2][x];
TT = Table[T[p][n], {p, Prime[Range[2, maxn]]}, {n, 3, Prime[maxn]}] // Flatten // Union // Select[#, # <= maxT&]&;
avoid = Table[T[p][T[2][n]], {p, Prime[Range[2, maxn]]}, {n, 3, Prime[maxn] }] // Flatten // Union // Select[#, # <= maxT&]&;
Complement[TT, avoid] (* Jean-François Alcover, Nov 03 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved