login
Numbers n such that 1024n+513 is prime.
8

%I #11 Sep 08 2022 08:45:17

%S 7,10,11,17,22,25,31,35,44,50,65,74,79,82,85,94,100,109,110,112,115,

%T 116,122,130,140,149,151,154,155,157,164,166,172,179,206,211,214,215,

%U 221,227,229,232,245,254,256,259,269,271,277,280,281,292,295,296,299,316,322,332

%N Numbers n such that 1024n+513 is prime.

%H Vincenzo Librandi, <a href="/A105140/b105140.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[0, 500], PrimeQ[1024 # + 513]&] (* _Vincenzo Librandi_, Jan 08 2013 *)

%o (Magma) [n: n in [0..350] | IsPrime(1024*n + 513)]; // _Vincenzo Librandi_, Jan 08 2013

%o (PARI) is(n)=isprime(1024*n+513) \\ _Charles R Greathouse IV_, Feb 17 2017

%Y Cf. A095278, A105133-A105139, A002145, A007521, A105126-A105132.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, based on correspondence from _Marco Matosic_, Apr 11 2005