%I #9 Sep 08 2022 08:45:37
%S 29,89,149,269,389,449,509,569,809,929,1049,1109,1229,1289,1409,1709,
%T 1889,1949,2069,2129,2309,2549,2609,2729,2789,2909,2969,3089,3209,
%U 3329,3389,3449,3929,3989,4049,4229,4289,4349,4409,4649,4889,5009,5189,5309,5669
%N Primes congruent to 29 mod 60.
%H Vincenzo Librandi, <a href="/A142791/b142791.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 16n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Prime[Range[800]], MemberQ[{29}, Mod[#, 60]] &] (* _Vincenzo Librandi_, Sep 04 2012 *)
%o (Magma) [p: p in PrimesUpTo(6000) | p mod 60 eq 29 ]; // _Vincenzo Librandi_, Sep 04 2012
%o (PARI) is(n)=isprime(n) && n%60==29 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008
|