login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A333188 a(n) = [2^n csc(1/n)] - [2^n cot(1/n)], where [ ] = floor. 4
1, 1, 1, 2, 4, 5, 10, 16, 28, 52, 94, 170, 316, 586, 1093, 2048, 3856, 7284, 13800, 26220, 49942, 95341, 182390, 349576, 671178, 1290714, 2485798, 4793999, 9257313, 17897354, 34639837, 67114326, 130160485, 252663350, 490886799, 954498552, 1857396219 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = [2^n csc(1/n)] - [2^n cot(1/n)], where [ ] = floor.
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
Sequence in context: A299492 A253198 A138856 * A018401 A049332 A335206
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 11 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 6 15:21 EDT 2024. Contains 372294 sequences. (Running on oeis4.)