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”).

Numbers n such that 256n+129 is prime.
2

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

%S 2,4,5,10,13,17,19,25,28,37,38,40,44,47,52,53,59,62,70,74,77,79,82,83,

%T 103,110,115,119,124,130,137,140,149,152,158,170,173,178,179,193,200,

%U 205,208,209,212,217,230,235,238,242,247,248,257,268,269,272,275,280,283,299,307

%N Numbers n such that 256n+129 is prime.

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

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

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

%o (PARI) is(n)=isprime(256*n+129) \\ _Charles R Greathouse IV_, Jun 12 2017

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

%K nonn,easy

%O 1,1

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