login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Positive numbers of the form 4*n^2 - 1 which are not semiprimes.
1

%I #15 Sep 17 2017 22:32:42

%S 3,63,99,195,255,399,483,575,675,783,1023,1155,1295,1443,1599,1935,

%T 2115,2303,2499,2703,2915,3135,3363,3843,4095,4355,4623,4899,5475,

%U 5775,6083,6399,6723,7055,7395,7743,8099,8463,8835,9215,9603,9999,10815

%N Positive numbers of the form 4*n^2 - 1 which are not semiprimes.

%C Positive numbers of the form 4*n^2 - 1 which are semiprimes can be found in A037074.

%C Or, all positive products of the form A014076(i)*[A014076(i)+-2], duplicates removed. - _R. J. Mathar_, Aug 08 2007

%H G. C. Greubel, <a href="/A123754/b123754.txt">Table of n, a(n) for n = 1..5000</a>

%F Equals ( A000466 - {-1} ) - A001358. - _R. J. Mathar_, Aug 08 2007

%t Select[4*(Range[54])^2-1, Not[PrimeQ[Sqrt[(#+ 1)]-1] && PrimeQ[Sqrt[(#+1)]+1]]&]

%t Select[4*Range[100]^2-1,PrimeOmega[#]!=2&] (* _Harvey P. Dale_, Jul 24 2016 *)

%Y Cf. A000466, A037074.

%K nonn

%O 1,1

%A _Roger L. Bagula_, Nov 16 2006

%E Edited by _N. J. A. Sloane_, Aug 03 2007