login

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

Numbers k such that 101*k + 103 is prime.
2

%I #24 Sep 08 2022 08:45:18

%S 0,6,8,26,36,44,48,50,54,60,68,74,104,110,114,126,140,156,158,194,198,

%T 204,210,224,228,230,258,278,288,300,314,320,326,336,344,348,378,386,

%U 396,410,428,440,450,474,476,488,510,530,534,546,560,566,578,590,600

%N Numbers k such that 101*k + 103 is prime.

%C 101 and 103 are twin primes.

%H Daniel Starodubtsev, <a href="/A107366/b107366.txt">Table of n, a(n) for n = 1..10000</a>

%H Chris Caldwell, <a href="http://www.utm.edu/research/primes/lists/small/1ktwins.txt">The First 1,008 Twin Primes</a>.

%e If k=0, then 101*k + 103 = 103 (prime).

%e If k=60, then 101*k + 103 = 6163 (prime).

%t Select[Range[0,600],PrimeQ[101#+103]&] (* _Harvey P. Dale_, Aug 08 2019 *)

%o (Magma) [n: n in [0..100000] | IsPrime(101*n + 103)] // _Vincenzo Librandi_, Nov 13 2010

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

%Y Cf. A107369, A107371, A107372.

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, May 24 2005