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 k such that 101*k - 103 is prime.
2

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

%S 6,10,12,30,34,36,42,54,64,66,70,76,82,94,114,124,132,136,154,160,174,

%T 180,184,190,192,210,216,234,240,250,252,264,276,292,300,306,324,342,

%U 346,352,402,406,426,436,444,454,456,462,472,484,496,502,510,532,534

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

%C 101 and 103 are twin primes.

%H Daniel Starodubtsev, <a href="/A107371/b107371.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=66, then 101*66 - 103 = 6563 (prime).

%o (Magma) [n: n in [2..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. A107366, A107369, A107372.

%K nonn,easy

%O 1,1

%A _Parthasarathy Nambi_, May 24 2005