login
Primes congruent to 28 mod 45.
2

%I #14 Aug 01 2024 16:28:33

%S 73,163,433,523,613,883,1063,1153,1423,1693,1783,1873,2053,2143,2503,

%T 2593,2683,2953,3313,3583,3673,3853,3943,4483,4663,4933,5023,5113,

%U 5563,5653,5743,5923,6373,6553,6733,6823,7723,7993,8263,8353,8443,8623,8713,8803

%N Primes congruent to 28 mod 45.

%C Also, primes with digital root 1 and last digit 3. - J. W. Helkenberg, Oct 27 2011

%H Vincenzo Librandi, <a href="/A142326/b142326.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[1200]],MemberQ[{28},Mod[#,45]]&] (* _Vincenzo Librandi_, Aug 26 2012 *)

%t Select[Range[28,9000,45],PrimeQ] (* _Harvey P. Dale_, Aug 01 2024 *)

%o (PARI) forprime(p=2,1e4,if(p%45==28,print1(p", "))) \\ _Charles R Greathouse IV_, Oct 31 2011

%o (Magma) [p: p in PrimesUpTo(10000) | p mod 45 eq 28]; // _Vincenzo Librandi_, Aug 26 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008