login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173416 Exactly one of 2n^2-1 and 2n^2+1 is prime. 0

%I #3 Mar 30 2012 18:52:39

%S 1,2,4,7,8,9,10,11,13,15,17,18,22,25,27,28,30,33,34,38,39,41,43,46,49,

%T 50,52,56,59,62,63,64,66,69,72,73,75,76,80,81,85,91,92,93,95,96,98,99,

%U 105,108,109,112,113,115,118,123,125,126,127,134,135,137,140,141,143

%N Exactly one of 2n^2-1 and 2n^2+1 is prime.

%C Numbers in A089001 or in A066049 but not in both. [From _R. J. Mathar_, Mar 09 2010]

%e a(1)=1 because 2*1^2-1=1 is nonprime and 2*1^2+1=3 is prime.

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Mar 01 2010

%E 37 removed by _R. J. Mathar_, Mar 09 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)