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!)
A333108 a(n) = floor(n*sin(n)*cos(n)). 1
0, 0, -1, -1, 1, -2, -2, 3, -2, -4, 4, -1, -6, 4, 1, -8, 4, 4, -9, 2, 7, -10, 0, 10, -10, -4, 12, -8, -8, 14, -5, -12, 14, -1, -16, 13, 4, -19, 10, 10, -20, 6, 15, -20, 0, 20, -18, -6, 23, -15, -13, 25, -9, -20, 25, -2, -25, 22, 6, -29, 17, 15, -31, 10, 23, -31, 1, 29 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
The sequence of indices of zeros begins: 0, 1, 22, 44, 355, 710, 1065, 1420, 1775, 2130, 2485, 2840, 3195, 260515, 312689.
LINKS
MATHEMATICA
Table[Floor[n Sin[n] Cos[n]], {n, 0, 80}] (* Harvey P. Dale, Feb 10 2022 *)
PROG
(Python)
import math, matplotlib.pyplot as plt
x = [n for n in range(5000)]
y = [int(math.floor(n*math.cos(n)*math.sin(n))) for n in x]
print(y)
plt.show(plt.scatter(x, y, s=5))
(Magma) [Floor(n*Sin(n)*Cos(n)) : n in [0..80]]; // Wesley Ivan Hurt, Aug 19 2022
CROSSREFS
Sequence in context: A240089 A218700 A325331 * A266935 A175012 A051693
KEYWORD
sign,easy,look
AUTHOR
Alex Ratushnyak, Mar 07 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 July 2 21:16 EDT 2024. Contains 373960 sequences. (Running on oeis4.)