A293700 First differences of A293698.
3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 3, 16, 3, 3, 16, 3, 3, 16, 3, 3, 16, 3, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 3, 16, 3, 3, 16, 3, 3, 16, 3, 3, 16, 3, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3
Offset: 1
Keywords
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Programs
-
Maple
A293698:= select(i -> floor(tan(i))=1, [$1..1000]): A293698[2..-1]-A293698[1..-2]; # Robert Israel, Nov 06 2017
-
Mathematica
rootsp = Flatten[Position[Table[Floor[Tan[i]], {i, 1, 10^6}], 1]]; difp = Differences[rootsp] (*a(n)=difp[[n]]*) Differences@ Select[ Range@750, Floor@ Tan@# == 1 &] (* Robert G. Wilson v, Nov 06 2017 *)
-
PARI
lista(nn) = {last = 0; for (n=1, nn, if (floor(tan(n)) == 1, if (last, print1(n-last, ", ")); last = n;););} \\ Michel Marcus, Oct 24 2017
Comments