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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249063 a(n) = floor(cos(n)*PrimePi(n)). 0
0, -1, -2, -2, 0, 2, 3, -1, -4, -4, 0, 4, 5, 0, -5, -6, -2, 4, 7, 3, -5, -8, -5, 3, 8, 5, -3, -9, -8, 1, 10, 9, -1, -10, -10, -2, 9, 11, 3, -9, -13, -6, 7, 13, 7, -7, -15, -10, 4, 14, 11, -3, -15, -14, 0, 13, 14, 1, -14, -17, -5, 12, 17, 7, -11, -18, -10, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..68.

MATHEMATICA

Table[Floor[Cos[n] PrimePi[n]], {n, 1, 40}]

PROG

(MAGMA) [Floor(Cos(n)*#PrimesUpTo(n)): n in [1..80]]; // Vincenzo Librandi, Oct 20 2014

CROSSREFS

Cf. A000720.

Sequence in context: A240590 A080769 A143539 * A099307 A256750 A228430

Adjacent sequences:  A249060 A249061 A249062 * A249064 A249065 A249066

KEYWORD

sign

AUTHOR

Oussama Moutaoikil, Oct 20 2014

EXTENSIONS

More terms from Vincenzo Librandi, Oct 20 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 12:43 EDT 2019. Contains 327238 sequences. (Running on oeis4.)