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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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; refs; listen; history; internal format)
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 * A075897 A135947 A101040

Adjacent sequences:  A106546 A106547 A106548 * A106550 A106551 A106552

KEYWORD

easy,sign

AUTHOR

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 18 00:14 EST 2012. Contains 206085 sequences.