Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A106549
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A106549 a(n) = -1 iff 2*n+1 is prime, a(n)= 1 iff 2*n+1 is prime square, else a(n) = 0. +0
1
0, -1, -1, -1, 1, -1, -1, 0, -1, -1, 0, -1, 1, 0, -1, -1, 0, 0, -1, 0, -1, -1, 0, -1, 1, 0, -1, 0, 0, -1, -1, 0, 0, -1, 0, -1, -1, 0, 0, -1, 0, -1, 0, 0, -1, 0, 0, 0, -1, 0, -1, -1, 0, -1, -1, 0, -1, 0, 0, 0, 1, 0, 0, -1, 0, -1, 0, 0, -1, -1, 0, 0, 0, 0, -1, -1, 0, 0, -1, 0, 0, -1, 0, -1, 1, 0, -1 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(1)=0 because 1 is not prime and neither prime square;

a(2)=-1 because 3 is a prime;

a(5)=1 because 9 is a prime square 3^2.

CROSSREFS

Sequence in context: A122895 A097325 A167393 this_sequence A075897 A135947 A101040

Adjacent sequences: A106546 A106547 A106548 this_sequence A106550 A106551 A106552

KEYWORD

easy,sign

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), May 09 2005

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 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research