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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132350 If n is a k-th power with k >= 2 then a(n) = 0, otherwise a(n) = 1. 3
1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = 1 - A075802(n) for n>=2. - R. J. Mathar, Nov 12 2007

PROG

(PARI) r(n) = for(j=1, n, print1(!ispower(j)", "));

r(100)

(Haskell)

a132350 1 = 1

a132350 n = 1 - a075802 n  -- Reinhard Zumkeller, Jun 14 2013

CROSSREFS

Cf. A132349, A132351, A132352.

Sequence in context: A133639 A060038 A167021 * A076213 A120525 A112299

Adjacent sequences:  A132347 A132348 A132349 * A132351 A132352 A132353

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Nov 11 2007

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified October 18 10:28 EDT 2017. Contains 293507 sequences.