login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers n such that 128n+65 is prime.
1

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

%S 1,3,4,9,12,16,21,24,33,36,37,42,43,46,49,54,58,61,66,67,72,79,81,88,

%T 93,94,102,103,106,112,114,123,124,126,138,148,154,157,163,166,168,

%U 177,186,187,196,198,199,201,204,207,211,213,214,219,231,232,238,252,256,262,264

%N Numbers n such that 128n+65 is prime.

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

%t Select[Range[500], PrimeQ[128 # + 65]&] (* _Vincenzo Librandi_, Jan 07 2013 *)

%o (Magma) [n: n in [0..500] | IsPrime(128*n+65)]; // _Vincenzo Librandi_, Jan 07 2013

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

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

%Y Subsequence of A032766.

%K nonn,easy

%O 1,2

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