Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132350
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132350 If n is a k-th power with k >= 2 then a(n) = 0, otherwise a(n) = 1. +0
2
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; listen)
OFFSET

1,1

FORMULA

a(n)=1-A075802(n) for n>=2. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 12 2007

PROGRAM

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

CROSSREFS

Cf. A132349, A132351, A132352.

Sequence in context: A069158 A133639 A060038 this_sequence A120525 A112299 A071033

Adjacent sequences: A132347 A132348 A132349 this_sequence A132351 A132352 A132353

KEYWORD

nonn

AUTHOR

njas, Nov 11 2007

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 December 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research