%I #12 Sep 08 2022 08:45:48
%S 0,1,2,3,4,7,8,9,11,12,14,16,19,21,22,23,24,26,29,32,33,37,38,42,43,
%T 46,47,49,51,53,54,56,58,63,64,66,67,68,71,73,77,78,79,81,84,87,88,91,
%U 92,98,99,101,102,106,107,108,113,114,117,119,123,124,129,133,134,136,141
%N Numbers n such that 12*n + 5 is prime.
%C Corresponds to odd numbers in A024898.
%H Vincenzo Librandi, <a href="/A167055/b167055.txt">Table of n, a(n) for n = 1..1000</a>
%e 2 is in the sequence since 12*2+5 = 29 is prime.
%t Select[Range[0,150],PrimeQ[12#+5]&] (* _Harvey P. Dale_, Oct 07 2012 *)
%o (PARI) isA167055(n) = isprime(12*n+5)
%o (Magma) [n: n in [1..150] | IsPrime(12*n+5)]; // _Vincenzo Librandi_, May 20 2014
%Y Cf. A110801, A167056, A167057, A024898, primes are in A040117.
%K easy,nonn
%O 1,3
%A _Michael B. Porter_, Oct 27 2009
|