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!)
A167627 Prime numbers ending in the prime number 163. 2

%I #8 Jan 16 2023 18:30:10

%S 163,1163,3163,6163,10163,12163,13163,19163,21163,25163,28163,39163,

%T 40163,48163,52163,54163,55163,57163,69163,70163,76163,78163,81163,

%U 82163,84163,90163,91163,106163,112163,115163,117163,118163,120163

%N Prime numbers ending in the prime number 163.

%H Vincenzo Librandi, <a href="/A167627/b167627.txt">Table of n, a(n) for n = 1..2000</a>

%t Select[Prime@Range[ 200000], Mod[#, 1000]==163 &] (* _Vincenzo Librandi_, Jul 07 2014 *)

%t Select[Table[1000n+163,{n,0,150}],PrimeQ] (* This program is several hundred times more efficient that the program above. *) (* _Harvey P. Dale_, Jan 16 2023 *)

%o (Magma) [n: n in PrimesUpTo(160000) | n mod 1000 eq 163]; // _Vincenzo Librandi_, Jul 07 2014

%Y Cf. similar sequences listed in A244763.

%K base,nonn

%O 1,1

%A _Mark A. Thomas_, Nov 07 2009

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 16 11:08 EDT 2024. Contains 371711 sequences. (Running on oeis4.)