Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065357
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065357 (-1)^pi(n) where pi(n) is the number of primes <= n. +0
3
1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1 (list; graph; listen)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,1000

PROGRAM

(PARI) { for (n=0, 1000, if (n, a=(-1)^primepi(n), a=1); write("b065357.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 30 2009]

CROSSREFS

Cf. A000720.

Adjacent sequences: A065354 A065355 A065356 this_sequence A065358 A065359 A065360

Sequence in context: A143431 A158388 A162285 this_sequence A071935 A096809 A131561

KEYWORD

easy,sign

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Oct 31 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research