login

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

Numbers n such that 7*n + 911 is prime.
0

%I #13 Sep 08 2022 08:45:19

%S 0,6,8,14,20,26,36,54,56,66,74,80,84,96,98,108,114,116,138,146,156,

%T 158,168,174,176,186,194,198,200,204,210,216,218,230,234,240,246,248,

%U 254,260,270,276,278,288,294,300,308,314,318,330,344,348,350,354,374,378

%N Numbers n such that 7*n + 911 is prime.

%C All terms must be even numbers. - _Harvey P. Dale_, Mar 04 2019

%e If n=0 then 7*n + 911 = 911 (prime).

%e If n=66 then 7*n + 911 = 1373 (prime).

%t Select[Range[0,400,2],PrimeQ[7#+911]&] (* _Harvey P. Dale_, Mar 04 2019 *)

%o (Magma) [n: n in [0..10000] |IsPrime(7*n + 911)] - _Vincenzo Librandi_, Nov 13 2010

%o (PARI) is(n)=isprime(7*n+911) \\ _Charles R Greathouse IV_, Jun 13 2017

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Jul 20 2005