%I #14 Apr 03 2023 10:36:10
%S 0,8,12,14,20,32,50,68,102,110,122,134,150,162,168,174,180,182,200,
%T 228,248,260,264,270,312,318,330,342,348,350,354,398,402,410,428,432,
%U 440,452,468,470,474,512,518,540,558,584,612,614,624,638,642,644,650,678
%N Numbers n such that 1019*n + 1021 is prime.
%C 1019 and 1021 are twin primes.
%H Chris Caldwell, <a href="https://t5k.org/lists/small/1ktwins.txt">The First 1,008 Twin Primes</a>.
%e If n=110, then 1019*n + 1021 = 113111 (prime).
%o (Magma) [n: n in [0..100000] | IsPrime(1019*n + 1021)] // _Vincenzo Librandi_, Nov 13 2010
%o (PARI) is(n)=isprime(1019*n+1021) \\ _Charles R Greathouse IV_, Jun 13 2017
%K nonn,easy
%O 1,2
%A _Parthasarathy Nambi_, Jun 07 2005