login
A333187
a(n) = floor(2^n cot(1/n)).
4
1, 7, 23, 62, 157, 380, 889, 2037, 4589, 10205, 22465, 49038, 106285, 228985, 490791, 1047210, 2225653, 4713736, 9952272, 20954040, 44006898, 92211129, 192816394, 402420140, 838413359, 1743970009, 3622221495, 7512996836, 15563085028, 32200323371, 66548900263
OFFSET
1,2
FORMULA
a(n) = floor(2^n cot(1/n)).
MATHEMATICA
z = 50; u = Table[Floor[2^n Csc[1/n]], {n, 1, z}] (* A333186 *)
v = Table[Floor[2^n Cot[1/n]], {n, 1, z}] (* A333187 *)
u - v (* A333188 *)
w = Table[Floor[2^n Csc[1/n] - 2^n Cot[1/n]], {n, 1, z}];
u - v - w (* A333189 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 11 2020
STATUS
approved