login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142312 Primes congruent to 1 mod 45. 2

%I #11 Sep 08 2022 08:45:36

%S 181,271,541,631,811,991,1171,1531,1621,1801,2161,2251,2341,2521,2791,

%T 2971,3061,3331,3511,3691,4051,4231,4591,4861,4951,5581,5851,6121,

%U 6211,6301,6481,6571,6661,6841,7561,7741,8011,8101,8191,8461,8641,8731,8821,9001

%N Primes congruent to 1 mod 45.

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

%F a(n) ~ 24n log n. - _Charles R Greathouse IV_, Jul 02 2016

%t Select[Prime[Range[3000]],MemberQ[{1},Mod[#,45]]&] (* _Vincenzo Librandi_, Aug 25 2012 *)

%t Select[Range[1,10000,45],PrimeQ] (* _Harvey P. Dale_, Mar 10 2016 *)

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

%o (PARI) is(n)=isprime(n) && n%45==1 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)