login
Final two digits of prime(n), with leading zero omitted.
5

%I #29 Sep 08 2022 08:45:20

%S 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,

%T 97,1,3,7,9,13,27,31,37,39,49,51,57,63,67,73,79,81,91,93,97,99,11,23,

%U 27,29,33,39,41,51,57,63,69,71,77,81,83,93,7,11,13,17,31,37

%N Final two digits of prime(n), with leading zero omitted.

%C Primes modulo 100.

%H Nathaniel Johnston, <a href="/A110923/b110923.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Fi#final">Index entries for sequences related to final digits of numbers</a>

%p seq(ithprime(n) mod 100, n=1..100); # _Nathaniel Johnston_, Jun 29 2011

%t Table[Mod[Prime[n], 100], {n, 100}] (* _Ray Chandler_, Oct 01 2005 *)

%t Mod[Prime[Range[100]], 100] (* _Vincenzo Librandi_, May 07 2014 *)

%o (Sage) [mod(p, 100) for p in primes(500)] # _Bruno Berselli_, May 05 2014

%o (Magma) [p mod(100): p in PrimesUpTo(500)]; // _Vincenzo Librandi_, May 07 2014

%Y Cf. A007652, A242119.

%K nonn,base,easy

%O 1,1

%A _Paolo P. Lava_, Sep 23 2005

%E Edited, corrected and extended by _Ray Chandler_, Oct 01 2005