OFFSET
1,2
COMMENTS
LINKS
V.J. Pohjola, Line plot for n=1..50
EXAMPLE
The first 3 terms of A293701 are (3,19,3) which is a palindromic sequence, so 3 is a term.
The first 4 terms of A293701 are (3,19,3,19) which is not a palindromic sequence, so 4 is not a term.
The first 17 terms of A293701 are (3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3) which is a palindromic sequence, so 17 is a term.
The first 18 terms of A293701 are (3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 3) which is not a palindromic sequence, so 18 is not a term.
The first 19 terms of A293701 are (3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 3, 16) which is not a palindromic sequence, so 19 is not a term.
MATHEMATICA
rootsp7 = Flatten[Position[Table[Floor[Tan[n]], {n, 1, 10^7}], 1]];
difp7 = Differences[rootsp7];
nx = {}; Do[
If[Table[difp7[[i]], {i, 1, n}] == Reverse[Table[difp7[[i]], {i, 1, n}]],
AppendTo[nx, n]], {n, 1, Length[difp7]}]
nx
CROSSREFS
KEYWORD
nonn
AUTHOR
V.J. Pohjola, Nov 11 2017
STATUS
approved
