login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126565 Ceiling(sin(n)*cos(n)). 1
0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

For all nonzero integers n, ceil(sin(n)*cos(n)) = 1 + floor(sin(n)*cos(n)), so a(n) = 1 + A126564(n) for n > 0 (a(0) = A126564(0) = 0).

LINKS

Table of n, a(n) for n=0..104.

FORMULA

a(n) = ceil(sin(n)*cos(n)).

PROG

(PARI) a(n) = ceil(sin(n)*cos(n))

CROSSREFS

Cf. A126564.

Sequence in context: A118605 A175253 A163584 * A051069 A051065 A091445

Adjacent sequences:  A126562 A126563 A126564 * A126566 A126567 A126568

KEYWORD

nonn

AUTHOR

Rick L. Shepherd, Dec 27 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 18:22 EDT 2013. Contains 225648 sequences.